Update HipifyAction.cpp

dead code eliminate
此提交包含在:
Evgeny Mankov
2018-01-16 15:08:08 +03:00
提交者 GitHub
父節點 e90a76a1ef
當前提交 a26e323612
-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;