llvm-project/clang/lib/Format
Martin Probst 717f6dcddc clang-format: [JS] Fix template string ASI.
Summary:
Previously, automatic semicolon insertion would add an unwrapped line
when a template string contained a line break.

    var x = `foo${
        bar}`;

Would be formatted with `bar...` on a separate line and no indent.

Reviewers: djasper

Subscribers: cfe-commits, klimek

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

llvm-svn: 284807
2016-10-21 05:11:38 +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] Add comment manipulation header 2016-10-19 08:19:46 +00:00
BreakableToken.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
CMakeLists.txt [clang-format] Add comment manipulation header 2016-10-19 08:19:46 +00:00
Comments.cpp [clang-format] Add comment manipulation header 2016-10-19 08:19:46 +00:00
Comments.h [clang-format] Add comment manipulation header 2016-10-19 08:19:46 +00:00
ContinuationIndenter.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
ContinuationIndenter.h Addressed reviewer's post-submission comments from http://reviews.llvm.org/D18551. 2016-04-28 07:52:03 +00:00
Encoding.h Move UTF functions into namespace llvm. 2016-09-30 00:38:45 +00:00
Format.cpp [Format] Cleanup after replacing constructor body with = default 2016-10-20 14:58:45 +00:00
FormatToken.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
FormatToken.h clang-format: [JS] recognize more type locations. 2016-06-23 19:52:32 +00:00
FormatTokenLexer.cpp clang-format: [JS] Fix a crash in handledTemplateStrings. 2016-09-17 07:20:36 +00:00
FormatTokenLexer.h clang-format: [JS] nested and tagged template strings. 2016-08-25 10:13:21 +00:00
SortJavaScriptImports.cpp Removed duplicate header include 2016-10-14 11:48:10 +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 clang-format: [JS] merge requoting replacements. 2016-09-02 14:29:48 +00:00
TokenAnnotator.cpp [Format] Cleanup after replacing constructor body with = default 2016-10-20 14:58:45 +00:00
TokenAnnotator.h [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
UnwrappedLineFormatter.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
UnwrappedLineFormatter.h [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
UnwrappedLineParser.cpp clang-format: [JS] Fix template string ASI. 2016-10-21 05:11:38 +00:00
UnwrappedLineParser.h clang-format: [JS] Handle certain cases of ASI. 2016-03-14 19:21:36 +00:00
WhitespaceManager.cpp Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
WhitespaceManager.h Addressed reviewer's post-submission comments from http://reviews.llvm.org/D18551. 2016-04-28 07:52:03 +00:00