llvm-project/clang/unittests/Format
Martin Probst 2083f31b88 clang-format: [JS] keep triple slash directives intact.
Summary:
TypeScript uses triple slash directives of the form:
    /// <reference path="..."/>

For various non-source instructions that should not be wrapped.

Reference:
https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html

Reviewers: djasper

Subscribers: cfe-commits, klimek

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

llvm-svn: 302523
2017-05-09 12:45:48 +00:00
..
CMakeLists.txt [clang-format] Add a NamespaceEndCommentsFixer 2017-02-27 13:28:36 +00:00
CleanupTest.cpp [clang-format] Clang-tidy cleanup of CleanupTest.cpp, NFC 2017-04-21 14:21:21 +00:00
FormatTest.cpp [clang-format] Convert AlignEscapedNewlinesLeft to an enum, adding 2017-05-08 15:08:00 +00:00
FormatTestComments.cpp [clang-format] Replace IncompleteFormat by a struct with Line 2017-04-21 14:35:20 +00:00
FormatTestJS.cpp clang-format: [JS] keep triple slash directives intact. 2017-05-09 12:45:48 +00:00
FormatTestJava.cpp [clang-format] Recognize Java logical shift assignment operator 2017-04-11 15:50:04 +00:00
FormatTestObjC.cpp [clang-format] Replace IncompleteFormat by a struct with Line 2017-04-21 14:35:20 +00:00
FormatTestProto.cpp clang-format: Make it very slighly more expensive to wrap between "= {". 2017-03-14 00:40:32 +00:00
FormatTestSelective.cpp [clang-format] Convert AlignEscapedNewlinesLeft to an enum, adding 2017-05-08 15:08:00 +00:00
FormatTestUtils.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
NamespaceEndCommentsFixerTest.cpp [clang-format] Clang-tidy cleanup of NamespaceEndCommentFixerTest.cpp, NFC 2017-04-21 14:30:01 +00:00
SortImportsTestJS.cpp clang-format: [JS] Fix line breaks before comments when sorting imports. 2016-09-19 07:02:34 +00:00
SortIncludesTest.cpp clang-format: Correctly calculate affected ranges when sorting #includes. 2016-08-30 21:33:41 +00:00