[PATCH] D61174: [clang-format] Fix documentation for FixNamespaceComments
Owen Pan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 26 00:04:06 PDT 2019
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL359280: [clang-format] Fix documentation for FixNamespaceComments (authored by owenpan, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D61174?vs=196800&id=196803#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61174/new/
https://reviews.llvm.org/D61174
Files:
cfe/trunk/docs/ClangFormatStyleOptions.rst
cfe/trunk/include/clang/Format/Format.h
Index: cfe/trunk/docs/ClangFormatStyleOptions.rst
===================================================================
--- cfe/trunk/docs/ClangFormatStyleOptions.rst
+++ cfe/trunk/docs/ClangFormatStyleOptions.rst
@@ -1346,7 +1346,7 @@
true: false:
namespace a { vs. namespace a {
foo(); foo();
- } // namespace a; }
+ } // namespace a }
**ForEachMacros** (``std::vector<std::string>``)
A vector of macros that should be interpreted as foreach loops
Index: cfe/trunk/include/clang/Format/Format.h
===================================================================
--- cfe/trunk/include/clang/Format/Format.h
+++ cfe/trunk/include/clang/Format/Format.h
@@ -1139,7 +1139,7 @@
/// true: false:
/// namespace a { vs. namespace a {
/// foo(); foo();
- /// } // namespace a; }
+ /// } // namespace a }
/// \endcode
bool FixNamespaceComments;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61174.196803.patch
Type: text/x-patch
Size: 1159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190426/0f0e2513/attachment.bin>
More information about the llvm-commits
mailing list