llvm-project/clang/unittests/Tooling
Eric Liu 4f8d99433d Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error.
Summary:
return llvm::Expected<> to carry error status and error information.
This is the first step towards introducing "Error" into tooling::Replacements.

Reviewers: djasper, klimek

Subscribers: ioeric, klimek, cfe-commits

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

llvm-svn: 275062
2016-07-11 13:53:12 +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 [Tooling] Add optional argument to getFullyQualifiedName to prepend "::". 2016-06-29 22:38:59 +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 Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error. 2016-07-11 13:53:12 +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 Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error. 2016-07-11 13:53:12 +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