llvm-project/clang/unittests/Tooling
Alex Lorenz 0beca4d1ec [refactor] Describe refactorings in the operation classes
This commit changes the way that the refactoring operation classes are
structured:
- Users have to call `initiate` instead of constructing an instance of the
  class. The `initiate` is now supposed to have custom initiation logic, and
  you don't need to subclass the builtin requirements.
- A new `describe` function returns a structure with the id, title and the
  description of the refactoring operation.

The refactoring action classes are now placed into one common place in
RefactoringActions.cpp instead of being separate.

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

llvm-svn: 316780
2017-10-27 18:19:11 +00:00
..
ASTSelectionTest.cpp [refactor] Add a doc comment to the test function in the selection 2017-10-18 18:51:48 +00:00
CMakeLists.txt [Tooling] A new framework for executing clang frontend actions. 2017-10-26 10:38:14 +00:00
CastExprTest.cpp Make CastExpr::getSubExprAsWritten look through implicit temporary under CK_ConstructorConversion 2017-06-27 08:19:09 +00:00
CommentHandlerTest.cpp Remove 'Filename' parameter from BeginSourceFileAction. 2017-06-09 01:36:10 +00:00
CompilationDatabaseTest.cpp [Tooling] FixedCompilationDatabase should be able to strip positional 2017-06-29 10:43:44 +00:00
DiagnosticsYamlTest.cpp Try to fix modules build 2017-07-15 00:29:25 +00:00
ExecutionTest.cpp Try to fix warnings and windows test failures caused by r316653 2017-10-26 13:09:50 +00:00
FixItTest.cpp [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
LexicallyOrderedRecursiveASTVisitorTest.cpp Replacing "or" with "||" to appease MSVC. 2017-09-06 15:12:05 +00:00
LookupTest.cpp Added braces to work around gcc warning in googletest: suggest explicit braces to avoid ambiguous 'else'. NFC. 2017-06-15 21:01:24 +00:00
QualTypeNamesTest.cpp [Tooling] Add optional argument to getFullyQualifiedName to prepend "::". 2016-06-29 22:38:59 +00:00
RecursiveASTVisitorTest.cpp RecursiveASTVisitor should visit the nested name qualifiers in 2017-07-11 09:39:23 +00:00
RecursiveASTVisitorTestCallVisitor.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
RecursiveASTVisitorTestDeclVisitor.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
RecursiveASTVisitorTestExprVisitor.cpp Visit lambda capture inits from RecursiveASTVisitor::TraverseLambdaCapture(). 2016-08-17 14:59:53 +00:00
RecursiveASTVisitorTestTypeLocVisitor.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
RefactoringActionRulesTest.cpp [refactor] Describe refactorings in the operation classes 2017-10-27 18:19:11 +00:00
RefactoringCallbacksTest.cpp Add ASTMatchRefactorer and ReplaceNodeWithTemplate to RefactoringCallbacks 2017-05-10 07:48:45 +00:00
RefactoringTest.cpp Added `applyAtomicChanges` function. 2017-07-31 09:22:34 +00:00
ReplacementTest.h clang-format: Separate out a language kind for ObjC. 2016-12-12 12:42:29 +00:00
ReplacementsYamlTest.cpp [clang-tidy] Add check name to YAML export 2017-01-03 14:35:47 +00:00
RewriterTest.cpp Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
RewriterTestContext.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
TestVisitor.h Revert "[ADT] Make Twine's copy constructor private." 2017-10-11 23:54:34 +00:00
ToolingTest.cpp Remove 'Filename' parameter from BeginSourceFileAction. 2017-06-09 01:36:10 +00:00