r312535 - add the option IndentPPDirectives to the release notes. Landed in r312125
Sylvestre Ledru via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 5 06:56:40 PDT 2017
Author: sylvestre
Date: Tue Sep 5 06:56:40 2017
New Revision: 312535
URL: http://llvm.org/viewvc/llvm-project?rev=312535&view=rev
Log:
add the option IndentPPDirectives to the release notes. Landed in r312125
Modified:
cfe/trunk/docs/ReleaseNotes.rst
Modified: cfe/trunk/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.rst?rev=312535&r1=312534&r2=312535&view=diff
==============================================================================
--- cfe/trunk/docs/ReleaseNotes.rst (original)
+++ cfe/trunk/docs/ReleaseNotes.rst Tue Sep 5 06:56:40 2017
@@ -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
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.
More information about the cfe-commits
mailing list