[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
Thu May 10 13:19:00 PDT 2018
rnk added a comment.
In https://reviews.llvm.org/D46520#1092681, @mstorsjo wrote:
> Reverted in SVN r331858.
Thanks! When one attempts to generate pre-processed source with clang and compile it with MSVC, you usually have to remove clang's internal intrinsic headers from the include search path, otherwise you'll end up with references to builtins that don't exist in MSVC. Adding an extra -fuse-line-directives flag is just one more thing that you have to remember for that corner-case usage.
Repository:
rL LLVM
https://reviews.llvm.org/D46520
More information about the llvm-commits
mailing list