HomeSort by relevance Sort by last modified time
    Searched refs:MatcherName (Results 1 - 10 of 10) sorted by null

  /external/clang/lib/ASTMatchers/Dynamic/
Marshallers.h 164 StringRef MatcherName,
176 MarshallerType Marshaller, void (*Func)(), StringRef MatcherName,
179 : Marshaller(Marshaller), Func(Func), MatcherName(MatcherName),
186 return Marshaller(Func, MatcherName, NameRange, Args, Error);
205 const std::string MatcherName;
282 variadicMatcherDescriptor(StringRef MatcherName, SourceRange NameRange,
322 typedef VariantMatcher (*RunFunc)(StringRef MatcherName,
330 StringRef MatcherName)
332 MatcherName(MatcherName.str())
    [all...]
Diagnostics.cpp 25 StringRef MatcherName,
28 Error->pushContextFrame(CT_MatcherConstruct, MatcherRange) << MatcherName;
32 StringRef MatcherName,
37 << MatcherName;
Registry.cpp 43 void registerMatcher(StringRef MatcherName, MatcherDescriptor *Callback);
47 void RegistryMaps::registerMatcher(StringRef MatcherName,
49 assert(Constructors.find(MatcherName) == Constructors.end());
50 Constructors[MatcherName] = Callback;
391 llvm::Optional<MatcherCtor> Registry::lookupMatcherCtor(StringRef MatcherName) {
393 RegistryData->constructors().find(MatcherName);
Parser.cpp 532 Parser::RegistrySema::lookupMatcherCtor(StringRef MatcherName) {
533 return Registry::lookupMatcherCtor(MatcherName);
  /external/clang/include/clang/ASTMatchers/
ASTMatchersMacros.h 364 #define AST_TYPE_MATCHER(NodeType, MatcherName) \
366 Type, NodeType> MatcherName
370 /// \brief AST_TYPE_TRAVERSE_MATCHER(MatcherName, FunctionName) defines
371 /// the matcher \c MatcherName that can be used to traverse from one \c Type
377 #define AST_TYPE_TRAVERSE_MATCHER(MatcherName, FunctionName, ReturnTypesF) \
379 template <typename T> struct TypeMatcher##MatcherName##Getter { \
385 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \
387 ReturnTypesF>::Func MatcherName
389 /// \brief AST_TYPELOC_TRAVERSE_MATCHER(MatcherName, FunctionName) works
391 #define AST_TYPELOC_TRAVERSE_MATCHER(MatcherName, FunctionName, ReturnTypesF)
    [all...]
  /external/clang/include/clang/ASTMatchers/Dynamic/
Diagnostics.h 106 Context(ConstructMatcherEnum, Diagnostics *Error, StringRef MatcherName,
110 Context(MatcherArgEnum, Diagnostics *Error, StringRef MatcherName,
Registry.h 68 static llvm::Optional<MatcherCtor> lookupMatcherCtor(StringRef MatcherName);
Parser.h 14 /// MatcherName(Arg0, Arg1, ..., ArgN)
91 /// \param MatcherName The matcher name found by the parser.
96 lookupMatcherCtor(StringRef MatcherName) = 0;
129 lookupMatcherCtor(StringRef MatcherName) override;
  /external/clang/unittests/ASTMatchers/Dynamic/
ParserTest.cpp 28 uint64_t expectMatcher(StringRef MatcherName) {
33 ExpectedMatchers.insert(std::make_pair(MatcherName, M));
46 lookupMatcherCtor(StringRef MatcherName) override {
48 &*ExpectedMatchers.find(MatcherName);
65 StringRef MatcherName;
141 EXPECT_EQ("Bar", Bar.MatcherName);
147 EXPECT_EQ("Baz", Baz.MatcherName);
153 EXPECT_EQ("Foo", Foo.MatcherName);
RegistryTest.cpp 38 llvm::Optional<MatcherCtor> lookupMatcherCtor(StringRef MatcherName) {
39 return Registry::lookupMatcherCtor(MatcherName);
42 VariantMatcher constructMatcher(StringRef MatcherName,
46 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName);
54 VariantMatcher constructMatcher(StringRef MatcherName,
59 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName);
63 EXPECT_EQ("", DummyError.toStringFull()) << MatcherName;
67 VariantMatcher constructMatcher(StringRef MatcherName,
73 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName);

Completed in 107 milliseconds