Update HipifyAction.cpp

dead code eliminate
This commit is contained in:
Evgeny Mankov
2018-01-16 15:08:08 +03:00
committed by GitHub
parent e90a76a1ef
commit a26e323612
-1
View File
@@ -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;