[PATCH] D44191: Add Clang ReleaseNotes that --autocomplete breaks backward compatibily

Yuka Takahashi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 7 00:47:40 PST 2018

yamaguchi created this revision.
yamaguchi added reviewers: teemperor, v.g.vassilev.

--autocomplete flag now handles all the flags passed to shell, and this
implementation breaks backward compatibily before Clang 6.0.



Index: clang/docs/ReleaseNotes.rst
--- clang/docs/ReleaseNotes.rst
+++ clang/docs/ReleaseNotes.rst
@@ -71,6 +71,16 @@
 - ...
+Modified Compiler Flags
+- Before Clang 6.0, we passed "#" to --autocomplete flag to indicate to enable cc1
+  flags. For example, when -cc1 or -Xclang was passed to shell, shell executed clang
+  --autocomplete=#-<flag they want to complete>. Clang 7.0 now passes all flags that
+  shell has, so that Clang can handle them internally which breaks backward compatibility
+  before Clang 6.0.
 New Pragmas in Clang

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44191.137332.patch
Type: text/x-patch
Size: 670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180307/69c96fc8/attachment.bin>

More information about the cfe-commits mailing list