[PATCH] Add -fuse-line-directive flag to control usage of #line with -E

Richard Smith richard at metafoo.co.uk
Wed Feb 25 15:56:09 PST 2015


You seem to be missing code in the driver to handle your two new `-f` options and to pass `-fuse-line-directive` to the frontend.


================
Comment at: include/clang/Driver/Options.td:572-574
@@ -571,1 +571,5 @@
 
+def fuse_line_directive : Flag<["-"], "fuse-line-directive">, Group<f_Group>,
+  Flags<[CC1Option]>;
+def fno_use_line_directive : Flag<["-"], "fno-use-line-directive">, Group<f_Group>;
+
----------------
Maybe `[...]directives`?

http://reviews.llvm.org/D5217

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list