llvm-project/clang/unittests
Eric Liu 659afd55fa [clang-format] insert new #includes into correct blocks when cleaning up Replacement with cleanupAroundReplacements().
Summary:
When a replacement's offset is set to UINT_MAX or -1U, it is treated as
a header insertion replacement by cleanupAroundReplacements(). The new #include
directive is then inserted into the correct block.

Reviewers: klimek, djasper

Subscribers: klimek, cfe-commits, bkramer

Differential Revision: http://reviews.llvm.org/D20734

llvm-svn: 271276
2016-05-31 13:34:20 +00:00
..
AST [ASTImporter] Implement some expression-related AST node import. 2016-04-14 11:51:27 +00:00
ASTMatchers [ASTMatchers] Add support of hasCondition for SwitchStmt. 2016-05-30 15:25:25 +00:00
Basic [VFS] Add level() method to vfs::recursive_directory_iterator 2016-05-14 00:00:18 +00:00
CodeGen Make sure the LLVMContext outlive the CompilerInstance 2016-04-14 05:37:41 +00:00
Driver Remove autoconf support 2016-01-26 21:30:40 +00:00
Format [clang-format] insert new #includes into correct blocks when cleaning up Replacement with cleanupAroundReplacements(). 2016-05-31 13:34:20 +00:00
Frontend Use Backend_EmitMCNull for null codegen unit tests. 2016-02-18 20:27:16 +00:00
Lex [Lexer] Don't merge macro args from different macro files 2016-05-19 23:44:02 +00:00
Rewrite Remove autoconf support 2016-01-26 21:30:40 +00:00
Sema [Sema] Allow an external sema source to handle delayed typo corrections. 2016-05-19 10:46:10 +00:00
StaticAnalyzer Remove autoconf support 2016-01-26 21:30:40 +00:00
Tooling [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
libclang tests: Add explicit -stdlib=libstdc++ to tests that require it 2016-02-12 07:48:28 +00:00
CMakeLists.txt [CMake] Don't build the libclang tests unless you're building libclang 2015-12-04 23:12:19 +00:00