Skip to content

Commit

Permalink
Add Clang ReleaseNotes that --autocomplete breaks backward compatibily
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yamaguchi1024 committed Mar 7, 2018
1 parent 06e0d17 commit ba900ab
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions clang/docs/ReleaseNotes.rst
Expand Up @@ -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=#-<flag to be completed>. 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
-----------------------

Expand Down

0 comments on commit ba900ab

Please sign in to comment.