2
0

Update HipifyAction.cpp

dead code eliminate

[ROCm/clr commit: a26e323612]
Este cometimento está contido em:
Evgeny Mankov
2018-01-16 15:08:08 +03:00
cometido por GitHub
ascendente 36b0e4003e
cometimento 38c69ecb73
-1
Ver ficheiro
@@ -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;