llvm-project/clang/unittests/Tooling
Eric Liu 8b636db8d4 Added calculateRangesAfterReplaments() to calculate affacted ranges in the new code.
Summary:
Added calculateRangesAfterReplaments() to calculate original ranges as well as
newly affacted ranges in the new code.

Reviewers: klimek, djasper

Subscribers: cfe-commits, klimek

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

llvm-svn: 273290
2016-06-21 17:56:31 +00:00
..
CMakeLists.txt [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
CommentHandlerTest.cpp Wdeprecated: CommentVerifiers are returned by value, make sure they're correctly copy/moveable 2015-08-13 21:24:08 +00:00
CompilationDatabaseTest.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
FixItTest.cpp [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
LookupTest.cpp [Tooling] Add a utility function to replace one nested name with another. 2015-10-22 15:04:10 +00:00
QualTypeNamesTest.cpp When forming a fully-qualified type name, put any qualifiers outside/before the 2016-05-09 23:06:14 +00:00
RecursiveASTVisitorTest.cpp Let RecursiveASTVisitor visit array index VarDecls 2016-01-22 15:11:54 +00:00
RecursiveASTVisitorTestCallVisitor.cpp Separated RecursiveASTVisitorTest into multiple files. 2014-10-09 15:02:06 +00:00
RecursiveASTVisitorTestDeclVisitor.cpp Separated RecursiveASTVisitorTest into multiple files. 2014-10-09 15:02:06 +00:00
RecursiveASTVisitorTestExprVisitor.cpp Separated RecursiveASTVisitorTest into multiple files. 2014-10-09 15:02:06 +00:00
RecursiveASTVisitorTestTypeLocVisitor.cpp Fix initializing TypeOfTypeLoc 2014-10-24 13:52:55 +00:00
RefactoringCallbacksTest.cpp Rename AST node matchers to match the AST node names directly. Part of this rename also splits recordDecl() (which used to match CXXRecordDecl) into recordDecl() (that matches RecordDecl) and cxxRecordDecl (that matches CXXRecordDecl). Also adds isStruct(), isUnion(), and isClass() narrowing matchers for RecordDecl objects. 2015-09-17 13:30:52 +00:00
RefactoringTest.cpp Added calculateRangesAfterReplaments() to calculate affacted ranges in the new code. 2016-06-21 17:56:31 +00:00
ReplacementsYamlTest.cpp Do not quote YAML plain string myself. Let YAMLIO do that. 2013-09-11 04:00:35 +00:00
RewriterTest.cpp Avoid using set::emplace as it is apparently not supported by gcc 4.7. 2015-06-16 13:15:54 +00:00
RewriterTestContext.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
TestVisitor.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
ToolingTest.cpp ToolingTests/runToolOnCode.TestSkipFunctionBody: Appease msc targets. 2016-06-17 02:04:51 +00:00