[PATCH] D76869: [Clang] Restore replace_path_prefix instead of startswith

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 09:39:21 PDT 2020


MaskRay added inline comments.


================
Comment at: clang/lib/Lex/PPMacroExpansion.cpp:1545
       remapMacroPath(FN, PPOpts->MacroPrefixMap);
+      Lexer::Stringify(FN);
       OS << '"' << FN << '"';
----------------
Does this need to be swapped?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76869/new/

https://reviews.llvm.org/D76869





More information about the llvm-commits mailing list