clang  6.0.0svn
Classes | Namespaces | Functions
RefactoringActionRulesInternal.h File Reference
#include "clang/Basic/LLVM.h"
#include "clang/Tooling/Refactoring/RefactoringActionRule.h"
#include "clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h"
#include "clang/Tooling/Refactoring/RefactoringResultConsumer.h"
#include "clang/Tooling/Refactoring/RefactoringRuleContext.h"
#include "llvm/Support/Error.h"
#include <type_traits>
Include dependency graph for RefactoringActionRulesInternal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  clang::tooling::internal::HasBaseOf< Base, First, Rest >
 A type trait that returns true when the given type list has at least one type whose base is the given base type. More...
struct  clang::tooling::internal::HasBaseOf< Base, T >
struct  clang::tooling::internal::AreBaseOf< Base, First, Rest >
 A type trait that returns true when the given type list contains types that derive from Base. More...
struct  clang::tooling::internal::AreBaseOf< Base, T >


 Dataflow Directional Tag Classes.


llvm::Error clang::tooling::internal::findError ()
void clang::tooling::internal::ignoreError ()
template<typename FirstT , typename... RestT>
void clang::tooling::internal::ignoreError (Expected< FirstT > &First, Expected< RestT > &... Rest)
template<typename FirstT , typename... RestT>
llvm::Error clang::tooling::internal::findError (Expected< FirstT > &First, Expected< RestT > &... Rest)
 Scans the tuple and returns a valid Error if any of the values are invalid. More...
template<typename RuleType , typename... RequirementTypes, size_t... Is>
void clang::tooling::internal::invokeRuleAfterValidatingRequirements (RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context, const std::tuple< RequirementTypes... > &Requirements, llvm::index_sequence< Is... >)
void clang::tooling::internal::visitRefactoringOptionsImpl (RefactoringOptionVisitor &)
template<typename FirstT , typename... RestT>
void clang::tooling::internal::visitRefactoringOptionsImpl (RefactoringOptionVisitor &Visitor, const FirstT &First, const RestT &... Rest)
 Scans the list of requirements in a rule and visits all the refactoring options that are used by all the requirements. More...
template<typename... RequirementTypes, size_t... Is>
void clang::tooling::internal::visitRefactoringOptions (RefactoringOptionVisitor &Visitor, const std::tuple< RequirementTypes... > &Requirements, llvm::index_sequence< Is... >)
template<typename RuleType , typename... RequirementTypes>
std::unique_ptr< RefactoringActionRule > clang::tooling::createRefactoringActionRule (const RequirementTypes &... Requirements)
 Creates a new refactoring action rule that constructs and invokes the RuleType rule when all of the requirements are satisfied. More...