]> granicus.if.org Git - clang/commitdiff
Temporarily disable macro expansion in the HTML output of HTMLDiagnostics to
authorTed Kremenek <kremenek@apple.com>
Thu, 17 Apr 2008 18:39:57 +0000 (18:39 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 17 Apr 2008 18:39:57 +0000 (18:39 +0000)
avoid corrupting Preprocessor state.  Working on a fix.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49864 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/HTMLDiagnostics.cpp

index 9b7d4f5dac7d87c216c76b2212d3b88634a66ba2..78381f9070c17863d5ec22606344b1f9ef2892ab 100644 (file)
@@ -124,7 +124,7 @@ void HTMLDiagnostics::HandlePathDiagnostic(const PathDiagnostic& D) {
   
   if (PP) {
     html::SyntaxHighlight(R, FileID, *PP);
-    html::HighlightMacros(R, FileID, *PP);
+    // html::HighlightMacros(R, FileID, *PP);
   }
   
   // Get the full directory name of the analyzed file.