================
@@ -332,12 +346,14 @@ void InclusionRewriter::CommentOutDirective(Lexer 
&DirectiveLex,
     // OutputContentUpTo() would not output anything anyway.
     return;
   }
-  OS << "#if 0 /* expanded by -frewrite-includes */" << MainEOL;
+  OS << "#if 0 /* " << getIncludedFileName(Inc)
----------------
pogo59 wrote:

Aha, `-MM` has the same problem, so I'm less concerned about that now. I'll add 
the toggle for "system" headers later today.

https://github.com/llvm/llvm-project/pull/67613
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to