[PATCH] D13229: Add -Wc, option
don hinton via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 28 18:03:00 PDT 2015
hintonda added a comment.
Here are a few examples from existing tests showing how this option could be used:
-Xclang -analyzer-max-loop -Xclang 34
becomes:
-Wc,-analyzer-max-loop,34
-Xclang -analyzer-checker=debug.ConfigDumper -Xclang -analyzer-max-loop -Xclang 34
becomes:
-Wc,-analyzer-checker,debug.ConfigDumper,-analyzer-max-loop,34
-Xclang -analyzer-config -Xclang path-diagnostics-alternate=true -Xclang -analyzer-output=plist
becomes:
-Wc,-analyzer-config,path-diagnostics-alternate=true,-analyzer-output=plist
-Xclang -internal-isystem -Xclang /tmp/
becomes:
-Wc,-internal-isystem,/tmp/
-Xclang -internal-externc-isystem -Xclang /tmp
becomes:
-Wc,-internal-externc-isystem,/tmp
-Xclang -main-file-name -Xclang foo.c
becomes:
-Wc,-main-file-name,foo.c
-Xclang -include-pch -Xclang %t.pch
becomes:
-Wc,-include-pch,%t.pch
-Xclang -fdisable-module-hash -Xclang -detailed-preprocessing-record -Xclang -verify
becomes:
-Wc,-fdisable-module-hash,-detailed-preprocessing-record,-verify
http://reviews.llvm.org/D13229
More information about the cfe-commits
mailing list