@@ -287,20 +287,8 @@ void PrintPPOutputPPCallbacks::WriteLineInfo(unsigned LineNo,
287287 startNewLineIfNeeded ();
288288
289289 // Emit #line directives or GNU line markers depending on what mode we're in.
290- printf (" CurFileName: %s\n " , CurFilename.c_str ());
291290 StringRef CurFilenameWithNoLeaningDotSlash =
292- remove_leading_dotbackslah (CurFilename.str ());
293- printf (" CurFilenameWithNoLeaningDotSlash: %s\n " ,
294- CurFilenameWithNoLeaningDotSlash.data ());
295- printf (" Footer: %s\n " , PP.getPreprocessorOpts ().IncludeFooter .data ());
296- printf (" Header: %s\n " , PP.getPreprocessorOpts ().IncludeHeader .data ());
297- if (strcmp (CurFilenameWithNoLeaningDotSlash.data (),
298- PP.getPreprocessorOpts ().IncludeFooter .data ()) == 0 )
299- printf (" %s and %s are equal\n " , CurFilename.c_str (), PP.getPreprocessorOpts ().IncludeFooter .data ());
300- if (strcmp (CurFilenameWithNoLeaningDotSlash.data (),
301- PP.getPreprocessorOpts ().IncludeHeader .data ()) == 0 )
302- printf (" %s and %s are equal\n " , CurFilename.c_str (),
303- PP.getPreprocessorOpts ().IncludeHeader .data ());
291+ remove_leading_dotbackslah (CurFilename.str ());
304292 if ((strcmp (CurFilenameWithNoLeaningDotSlash.data (),
305293 PP.getPreprocessorOpts ().IncludeFooter .data ()) == 0 ) ||
306294 (strcmp (CurFilenameWithNoLeaningDotSlash.data (),
0 commit comments