llvm-project/clang/lib/Format
Daniel Jasper 028d815e28 [clang-format] Handle leading comments in using declaration
This fixes clang-format internal assertion for the following code:

  /* override */ using std::string;

Patch by Igor Sugak. Thank you.

llvm-svn: 317901
2017-11-10 17:11:18 +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] Support python-style comments in text protos 2017-11-10 12:50:09 +00:00
BreakableToken.h [clang-format] Break non-trailing comments, try 2 2017-10-16 09:08:53 +00:00
CMakeLists.txt [clang-format] Support sorting using declarations 2017-06-21 12:03:12 +00:00
ContinuationIndenter.cpp [clang-format] Fix argument name comment, NFC 2017-11-09 13:19:14 +00:00
ContinuationIndenter.h [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
Encoding.h [Format] Remove dead code. 2016-12-19 21:10:50 +00:00
Format.cpp [clang-format] Apply a clang-tidy suggestion, NFC 2017-11-09 15:12:17 +00:00
FormatInternal.h [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
FormatToken.cpp clang-format clang-format. 2017-09-20 09:51:03 +00:00
FormatToken.h clang-format clang-format. 2017-09-20 09:51:03 +00:00
FormatTokenLexer.cpp [clang-format] Support python-style comments in text protos 2017-11-10 12:50:09 +00:00
FormatTokenLexer.h [clang-format] Support python-style comments in text protos 2017-11-10 12:50:09 +00:00
NamespaceEndCommentsFixer.cpp [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
NamespaceEndCommentsFixer.h [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
SortJavaScriptImports.cpp [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
SortJavaScriptImports.h clang-format: [JS] sort ES6 imports. 2016-05-20 11:24:24 +00:00
TokenAnalyzer.cpp [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
TokenAnalyzer.h [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
TokenAnnotator.cpp [clang-format] Handle unary operator overload with arguments and specifiers 2017-11-06 12:11:51 +00:00
TokenAnnotator.h [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
UnwrappedLineFormatter.cpp [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
UnwrappedLineFormatter.h [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
UnwrappedLineParser.cpp [clang-format] Support python-style comments in text protos 2017-11-10 12:50:09 +00:00
UnwrappedLineParser.h [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
UsingDeclarationsSorter.cpp [clang-format] Handle leading comments in using declaration 2017-11-10 17:11:18 +00:00
UsingDeclarationsSorter.h [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
WhitespaceManager.cpp [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00
WhitespaceManager.h [clang-format] Format raw string literals 2017-10-30 14:01:50 +00:00