[PATCH] D69764: [clang-format] Add Left/Right Const (East/West , Before/After) fixer capability
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 4 07:28:45 PST 2019
MyDeveloperDay updated this revision to Diff 227708.
MyDeveloperDay retitled this revision from "[clang-format] Add East Const / West Const fixer" to "[clang-format] Add Left/Right Const (East/West , Before/After) fixer capability".
MyDeveloperDay edited the summary of this revision.
MyDeveloperDay added a comment.
- Switch default to be Left/Right const
- Add support for East/West and Before/After
- Add volatile unit tests
- Cover comment case (the only build failure in clang/lib caused after running `clang-format -i --const-style=east`)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69764/new/
https://reviews.llvm.org/D69764
Files:
clang/docs/ClangFormatStyleOptions.rst
clang/include/clang/Format/Format.h
clang/lib/Format/CMakeLists.txt
clang/lib/Format/EastWestConstFixer.cpp
clang/lib/Format/EastWestConstFixer.h
clang/lib/Format/Format.cpp
clang/tools/clang-format/ClangFormat.cpp
clang/unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69764.227708.patch
Type: text/x-patch
Size: 27747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191104/c176a4a5/attachment-0001.bin>
More information about the cfe-commits
mailing list