summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2017-09-05 13:56:40 +0000
committerSylvestre Ledru <sylvestre@debian.org>2017-09-05 13:56:40 +0000
commit31f4fee0c9a9d228a1e85438172bb4becc2e5ab1 (patch)
tree8cb5ea45e894d8507c476dc6aeb70d8247e48e64
parent49f9ba37d8b676ae39c050ef6d02d3d904685a53 (diff)
downloadbcm5719-llvm-31f4fee0c9a9d228a1e85438172bb4becc2e5ab1.tar.gz
bcm5719-llvm-31f4fee0c9a9d228a1e85438172bb4becc2e5ab1.zip
add the option IndentPPDirectives to the release notes. Landed in r312125
llvm-svn: 312535
-rw-r--r--clang/docs/ReleaseNotes.rst17
1 files changed, 15 insertions, 2 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 426c1566766..d84fd3a7f4d 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -74,7 +74,7 @@ Improvements to Clang's diagnostics
Non-comprehensive list of changes in this release
-------------------------------------------------
-- Bitrig OS was merged back into OpenBSD, so Bitrig support has been
+- Bitrig OS was merged back into OpenBSD, so Bitrig support has been
removed from Clang/LLVM.
New Compiler Flags
@@ -190,7 +190,20 @@ There are two main patterns affected by this:
clang-format
------------
-...
+* Option *IndentPPDirectives* added to indent preprocessor directives on
+ conditionals.
+
+ +----------------------+----------------------+
+ | Before | After |
+ +======================+======================+
+ | .. code-block:: c++ | .. code-block:: c++ |
+ | | |
+ | #if FOO | #if FOO |
+ | #if BAR | # if BAR |
+ | #include <foo> | # include <foo> |
+ | #endif | # endif |
+ | #endif | #endif |
+ +----------------------+----------------------+
* Option -verbose added to the command line.
Shows the list of processed files.
OpenPOWER on IntegriCloud