[ROCm/hip commit: 3fbdeafee4]
This commit is contained in:
atimofee
2016-02-24 19:27:02 +03:00
förälder 1582663239
incheckning a4329ecc09
-1
Visa fil
@@ -463,7 +463,6 @@ class Cuda2HipCallback : public MatchFinder::MatchCallback {
if (const StringLiteral * stringLiteral = Result.Nodes.getNodeAs<clang::StringLiteral>("stringLiteral"))
{
StringRef s = stringLiteral->getString();
std::pair<StringRef, StringRef> split = s.split("cuda");
StringRef cuda = split.second;
while (!cuda.empty()) {