diff options
Diffstat (limited to 'clang/lib/Frontend/PrintPreprocessedOutput.cpp')
| -rw-r--r-- | clang/lib/Frontend/PrintPreprocessedOutput.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/clang/lib/Frontend/PrintPreprocessedOutput.cpp b/clang/lib/Frontend/PrintPreprocessedOutput.cpp index f3393bfe51c..87fbd04041f 100644 --- a/clang/lib/Frontend/PrintPreprocessedOutput.cpp +++ b/clang/lib/Frontend/PrintPreprocessedOutput.cpp @@ -704,7 +704,7 @@ static int MacroIDCompare(const id_macro_pair *LHS, const id_macro_pair *RHS) {  static void DoPrintMacros(Preprocessor &PP, raw_ostream *OS) {    // Ignore unknown pragmas. -  PP.AddPragmaHandler(new EmptyPragmaHandler()); +  PP.IgnorePragmas();    // -dM mode just scans and ignores all tokens in the files, then dumps out    // the macro table at the end. | 

