1 родитель
7ba59141b3
Коммит
b2755257b1
1 file changed
-1
@@ -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()) {
|
||||
|
||||
Reference in new issue
Block a user