Update HipifyAction.cpp
dead code eliminate
Cette révision appartient à :
1 Parent
09655a0853
révision
e54d9f3df0
1 fichier modifié
-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;
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur