llvm-project/clang/lib/Format
Krasimir Georgiev 17725d8391 [clang-format] Enable comment reflowing in multiline comments containing pragmas
Summary:
This patch enables comment reflowing of lines not matching the comment pragma regex
in multiline comments containing comment pragma lines. Previously, these comments
were dumped without being reindented to the result.

Reviewers: djasper, mprobst

Reviewed By: mprobst

Subscribers: klimek, mprobst, cfe-commits

Differential Revision: https://reviews.llvm.org/D30697

llvm-svn: 297261
2017-03-08 08:55:12 +00:00
..
AffectedRangeManager.cpp Added Fixer implementation and fix() interface in clang-format for removing redundant code. 2016-04-25 15:09:22 +00:00
AffectedRangeManager.h removed redundant '#' 2016-04-28 07:52:06 +00:00
BreakableToken.cpp [clang-format] Enable comment reflowing in multiline comments containing pragmas 2017-03-08 08:55:12 +00:00
BreakableToken.h [clang-format] Enable comment reflowing in multiline comments containing pragmas 2017-03-08 08:55:12 +00:00
CMakeLists.txt [clang-format] Add a NamespaceEndCommentsFixer 2017-02-27 13:28:36 +00:00
ContinuationIndenter.cpp [clang-format] Enable comment reflowing in multiline comments containing pragmas 2017-03-08 08:55:12 +00:00
ContinuationIndenter.h [clang-format] Refactor WhitespaceManager and friends 2017-01-31 11:25:01 +00:00
Encoding.h [Format] Remove dead code. 2016-12-19 21:10:50 +00:00
Format.cpp Don't write to LLVMStyle.JavaScriptQuotes twice. No behavior change. 2017-03-02 14:51:54 +00:00
FormatToken.cpp clang-format: Fix bug in handling of single-column lists. 2016-12-21 17:02:06 +00:00
FormatToken.h clang-format: [JS] Improve line-wrapping behavior of template strings. 2017-02-20 14:51:16 +00:00
FormatTokenLexer.cpp clang-format: Fix many Objective-C formatting regressions from r289428 2017-02-24 19:10:12 +00:00
FormatTokenLexer.h clang-format: [JS] nested and tagged template strings. 2016-08-25 10:13:21 +00:00
NamespaceEndCommentsFixer.cpp [clang-format] Support namespaces ending in semicolon 2017-03-07 14:07:43 +00:00
NamespaceEndCommentsFixer.h [clang-format] Add a NamespaceEndCommentsFixer 2017-02-27 13:28:36 +00:00
SortJavaScriptImports.cpp Use after move bug fixes 2016-12-23 11:40:44 +00:00
SortJavaScriptImports.h clang-format: [JS] sort ES6 imports. 2016-05-20 11:24:24 +00:00
TokenAnalyzer.cpp Don't copy replacements in for-range loop. NFC. 2016-10-19 13:50:17 +00:00
TokenAnalyzer.h [Format] Remove dead code. 2016-12-19 21:10:50 +00:00
TokenAnnotator.cpp [clang-format] Fixed indent issue when adding a comment at the end of a return type in named function declaration. 2017-03-07 14:48:02 +00:00
TokenAnnotator.h [clang-format] Add a NamespaceEndCommentsFixer 2017-02-27 13:28:36 +00:00
UnwrappedLineFormatter.cpp [clang-format] Refactor WhitespaceManager and friends 2017-01-31 11:25:01 +00:00
UnwrappedLineFormatter.h [clang-format] Refactor WhitespaceManager and friends 2017-01-31 11:25:01 +00:00
UnwrappedLineParser.cpp [clang-format] Don't add namespace end comments for unbalanced right braces after namespace end 2017-03-01 16:38:08 +00:00
UnwrappedLineParser.h [clang-format] Add a NamespaceEndCommentsFixer 2017-02-27 13:28:36 +00:00
WhitespaceManager.cpp [clang-format] Re-align broken comment lines where appropriate. 2017-02-03 10:18:25 +00:00
WhitespaceManager.h [clang-format] Refactor WhitespaceManager and friends 2017-01-31 11:25:01 +00:00