llvm-project/clang/lib/Format
Antonio Maiorano 7eb7507aeb clang-format: fix fallback style set to "none" not always formatting
This fixes clang-format not formatting if fallback-style is explicitly set to
"none", and either a config file is found or YAML is passed in without a
"BasedOnStyle". With this change, passing "none" in these cases will have no
affect, and LLVM style will be used as the base style.

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

llvm-svn: 292562
2017-01-20 01:22:42 +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 clang-format: Always wrap before multi-line parameters/operands. 2017-01-16 13:13:15 +00:00
ContinuationIndenter.h clang-format: Always wrap before multi-line parameters/operands. 2017-01-16 13:13:15 +00:00
Encoding.h [Format] Remove dead code. 2016-12-19 21:10:50 +00:00
Format.cpp clang-format: fix fallback style set to "none" not always formatting 2017-01-20 01:22:42 +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: Keep string-literal-label + value pairs on a line. 2016-12-13 11:16:42 +00:00
FormatTokenLexer.cpp clang-format: Separate out a language kind for ObjC. 2016-12-12 12:42:29 +00:00
FormatTokenLexer.h clang-format: [JS] nested and tagged template strings. 2016-08-25 10:13:21 +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: Improve support for override/final as variable names. 2017-01-09 11:04:07 +00:00
TokenAnnotator.h [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
UnwrappedLineFormatter.cpp [clang-format] Fixed line merging of more than two lines 2016-11-15 15:07:07 +00:00
UnwrappedLineFormatter.h [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
UnwrappedLineParser.cpp clang-format: [JS] revert over-eager ASI check. 2017-01-16 09:52:40 +00:00
UnwrappedLineParser.h clang-format: [JS] Handle certain cases of ASI. 2016-03-14 19:21:36 +00:00
WhitespaceManager.cpp Use after move bug fixes 2016-12-23 11:40:44 +00:00
WhitespaceManager.h [Format] Remove dead code. 2016-12-19 21:10:50 +00:00