[PATCH] D63648: [Preprocessor] Honor absolute paths in diagnostics

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 21 11:14:02 PDT 2019


thakis added a comment.

Maybe we should just implement full /FC mode that affects paths everywhere (diagnostics, `__FILE__`, etc). Then people who need this more than deterministic, build-directory-independent builds can use that. (But it does break distributed build caching, so it's not that great.)

Not sure.

But `-fdiagnostics-absolute-paths` should imho not affect `/showIncludes` output, since that's not a diagnostic.


Repository:
  rC Clang

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

https://reviews.llvm.org/D63648





More information about the cfe-commits mailing list