From ba900ab93d8542f83e74ab4986d089b7704acc8d Mon Sep 17 00:00:00 2001 From: Yuka Takahashi Date: Wed, 7 Mar 2018 11:34:02 +0000 Subject: [PATCH] Add Clang ReleaseNotes that --autocomplete breaks backward compatibily Summary: --autocomplete flag now handles all the flags passed to shell, and this implementation breaks backward compatibily before Clang 6.0. Reviewers: teemperor, v.g.vassilev Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D44191 llvm-svn: 326889 --- clang/docs/ReleaseNotes.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index b29cd0627d05..bb645e14fdd5 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -71,6 +71,15 @@ future versions of Clang. - ... +Modified Compiler Flags +----------------------- + +- Before Clang 7.0, we prepended the "#" character to the --autocomplete argument to +enable cc1 flags. For example, when the -cc1 or -Xclang flag is in the clang invocation, +the shell executed clang --autocomplete=#-. Clang 7.0 now +requires the whole invocation including all flags to be passed to the --autocomplete +like this: clang --autocomplete=-cc1,-xc++,-fsyn. + New Pragmas in Clang -----------------------