dead code eliminate

[ROCm/hip commit: e54d9f3df0]
Этот коммит содержится в:
Evgeny Mankov
2018-01-16 15:08:08 +03:00
коммит произвёл GitHub
родитель 0e8da085bf
Коммит e09ba44b16
-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;