forked from OSchip/llvm-project
add the option IndentPPDirectives to the release notes. Landed in r312125
llvm-svn: 312535
This commit is contained in:
parent
49f9ba37d8
commit
31f4fee0c9
|
|
@ -190,7 +190,20 @@ There are two main patterns affected by this:
|
||||||
clang-format
|
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.
|
* Option -verbose added to the command line.
|
||||||
Shows the list of processed files.
|
Shows the list of processed files.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue