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 Timelinekrasimir 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 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 108903 include/clang/Format/Format.h
lib/Format/ContinuationIndenter.h
lib/Format/ContinuationIndenter.cpp
lib/Format/Format.cpp
lib/Format/FormatTokenLexer.h
lib/Format/FormatTokenLexer.cpp
lib/Format/TokenAnalyzer.h
lib/Format/TokenAnalyzer.cpp
lib/Format/TokenAnnotator.h
lib/Format/TokenAnnotator.cpp
lib/Format/UnwrappedLineFormatter.h
lib/Format/UnwrappedLineFormatter.cpp
lib/Format/UnwrappedLineParser.h
lib/Format/UnwrappedLineParser.cpp
lib/Format/WhitespaceManager.h
lib/Format/WhitespaceManager.cpp
unittests/Format/CMakeLists.txt
unittests/Format/FormatTest.cpp
unittests/Format/FormatTestRawStrings.cpp
|
Needs a comment. Also, this should probably go into an internal namespace somewhere below all the public interfaces?