[PATCH] Add -fuse-line-directive flag to control usage of #line with -E
Reid Kleckner
rnk at google.com
Wed Feb 25 16:18:30 PST 2015
- Pluralize the argument everywhere
- Add driver logic. I considered a test, but it's expensive.
http://reviews.llvm.org/D5217
Files:
include/clang/Driver/Options.td
include/clang/Frontend/PreprocessorOutputOptions.h
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/PrintPreprocessedOutput.cpp
lib/Frontend/Rewrite/InclusionRewriter.cpp
test/Frontend/rewrite-includes-line-markers.c
test/Lexer/pragma-operators.cpp
test/Preprocessor/_Pragma-location.c
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5217.20714.patch
Type: text/x-patch
Size: 11186 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150226/3b0ae851/attachment.bin>
More information about the cfe-commits
mailing list