Update HipifyAction.cpp
dead code eliminate
[ROCm/hip commit: e54d9f3df0]
This commit is contained in:
1 parent
0e8da085bf
commit
e09ba44b16
1 file changed
-1
@@ -202,7 +202,6 @@ void HipifyAction::PragmaDirective(clang::SourceLocation Loc, clang::PragmaIntro
|
||||
clang::SourceManager& SM = getCompilerInstance().getSourceManager();
|
||||
clang::Preprocessor& PP = getCompilerInstance().getPreprocessor();
|
||||
const clang::Token tok = PP.LookAhead(0);
|
||||
clang::LangOptions DefaultLangOptions;
|
||||
StringRef Text(SM.getCharacterData(tok.getLocation()), tok.getLength());
|
||||
if (Text == "once") {
|
||||
pragmaOnce = true;
|
||||
|
||||
Reference in new issue
Block a user