This patch adds raw string literal formatting.
It's still work in progress, however feedback is welcome.
Paths
| Differential D35943
[clang-format] Format raw string literals ClosedPublic Authored by krasimir on Jul 27 2017, 7:36 AM.
Details Summary This patch adds raw string literal formatting. It's still work in progress, however feedback is welcome.
Diff Detail
Event Timeline
krasimir retitled this revision from Add string delimiters and compute raw string styles to [clang-format] Format raw string literals.Jul 27 2017, 9:23 AM Comment Actions
krasimir added inline comments.
krasimir added inline comments.
Comment Actions
Comment Actions Needs a bit more comments, otherwise LG.
This revision is now accepted and ready to land.Oct 26 2017, 10:01 AM krasimir added inline comments.
Comment Actions I'll need a bit of refactoring on the test side of things, since old gcc doesn't like raw string literals in macros.
Closed by commit rL316903: [clang-format] Format raw string literals (authored by krasimir). · Explain WhyOct 30 2017, 7:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 120815 cfe/trunk/include/clang/Format/Format.h
cfe/trunk/lib/Format/ContinuationIndenter.h
cfe/trunk/lib/Format/ContinuationIndenter.cpp
cfe/trunk/lib/Format/Format.cpp
cfe/trunk/lib/Format/FormatInternal.h
cfe/trunk/lib/Format/FormatTokenLexer.h
cfe/trunk/lib/Format/FormatTokenLexer.cpp
cfe/trunk/lib/Format/NamespaceEndCommentsFixer.h
cfe/trunk/lib/Format/NamespaceEndCommentsFixer.cpp
cfe/trunk/lib/Format/SortJavaScriptImports.cpp
cfe/trunk/lib/Format/TokenAnalyzer.h
cfe/trunk/lib/Format/TokenAnalyzer.cpp
cfe/trunk/lib/Format/TokenAnnotator.h
cfe/trunk/lib/Format/TokenAnnotator.cpp
cfe/trunk/lib/Format/UnwrappedLineFormatter.h
cfe/trunk/lib/Format/UnwrappedLineFormatter.cpp
cfe/trunk/lib/Format/UnwrappedLineParser.h
cfe/trunk/lib/Format/UnwrappedLineParser.cpp
cfe/trunk/lib/Format/UsingDeclarationsSorter.h
cfe/trunk/lib/Format/UsingDeclarationsSorter.cpp
cfe/trunk/lib/Format/WhitespaceManager.h
cfe/trunk/lib/Format/WhitespaceManager.cpp
cfe/trunk/unittests/Format/CMakeLists.txt
cfe/trunk/unittests/Format/FormatTest.cpp
cfe/trunk/unittests/Format/FormatTestRawStrings.cpp
|