summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/TokenAnalyzer.h
Commit message (Collapse)AuthorAgeFilesLines
* [Format] Remove dead code.Benjamin Kramer2016-12-191-3/+0
| | | | | | No functionality change. llvm-svn: 290135
* Removed DEBUG_TYPE from TokenAnalyzer.hKrasimir Georgiev2016-11-291-2/+0
| | | | | | | | | | | | | | Summary: Defining DEBUG_TYPE in a header file doesn't make sense. It is already defined in the corresponding source file. Reviewers: klimek, ioeric Subscribers: klimek Differential Revision: https://reviews.llvm.org/D27164 llvm-svn: 288125
* clang-format: [JS] merge requoting replacements.Martin Probst2016-09-021-1/+1
| | | | | | | | | | | | | | | | | Summary: When formatting source code that needs both requoting and reindentation, merge the replacements to avoid erroring out for conflicting replacements. Also removes the misleading Replacements parameter from the TokenAnalyzer API. Reviewers: djasper Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D24155 llvm-svn: 280487
* clang-format: [JS] sort ES6 imports.Martin Probst2016-05-201-0/+108
Summary: This change automatically sorts ES6 imports and exports into four groups: absolute imports, parent imports, relative imports, and then exports. Exports are sorted in the same order, but not grouped further. To keep JS import sorting out of Format.cpp, this required extracting the TokenAnalyzer infrastructure to separate header and implementation files. Reviewers: djasper Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D20198 llvm-svn: 270203
OpenPOWER on IntegriCloud