Update HipifyAction.cpp

dead code eliminate

[ROCm/hip commit: e54d9f3df0]
このコミットが含まれているのは:
Evgeny Mankov authored and GitHub committed 2018-01-16 15:08:08 +03:00
1 親 0e8da085bf
コミット e09ba44b16
1ファイル変更
-1
-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;