[PATCH] D46520: [Driver] Use -fuse-line-directives by default in MSVC mode

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 17:19:56 PDT 2018


rnk reopened this revision.
rnk added a comment.
This revision is now accepted and ready to land.

Please don't do this, this is actually really problematic, since `#line` directives lose information about what's a system header. That means the result of -E usually won't compile, since Windows headers are typically full of warnings and default-error warnings.


Repository:
  rL LLVM

https://reviews.llvm.org/D46520





More information about the llvm-commits mailing list