reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 5600 extern const AstTypeMatcher<FunctionType> functionType;

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  232   REGISTER_MATCHER(functionType);
tools/clang/tools/extra/clang-tidy/misc/MisplacedConstCheck.cpp
   25                                           ignoringParens(functionType())))))))
tools/clang/tools/extra/clang-tidy/modernize/RedundantVoidArgCheck.cpp
   55   auto ParenFunctionType = parenType(innerType(functionType()));
tools/clang/tools/extra/clang-tidy/modernize/UseAutoCheck.cpp
  271                      pointsTo(parenType(innerType(functionType()))))))))))
tools/clang/unittests/AST/ASTTypeTraitsTest.cpp
  141   EXPECT_TRUE(Verifier.match("void f() {}", typeLoc(loc(functionType()))));
tools/clang/unittests/AST/SourceLocationTest.cpp
  702   EXPECT_TRUE(Verifier.match("void f() throw();\n", loc(functionType())));
  706                              loc(functionType())));
  711   EXPECT_TRUE(Verifier.match("void f() throw(...);\n", loc(functionType()),
  715   EXPECT_TRUE(Verifier.match("void f() noexcept;\n", loc(functionType()),
  719   EXPECT_TRUE(Verifier.match("void f() noexcept(false);\n", loc(functionType()),
  724                              loc(functionType()), Language::Lang_CXX11));
  730                                   parenType(innerType(functionType()))))))));
  735                                   parenType(innerType(functionType())))))),
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
 1276   EXPECT_TRUE(matches("int (*f)(int);", functionType()));
 1277   EXPECT_TRUE(matches("void f(int i) {}", functionType()));
 1282       notMatches("void (*fp)(void);", pointerType(pointee(functionType()))));
 1284                       pointerType(pointee(ignoringParens(functionType())))));
 1303     varDecl(hasType(pointsTo(parenType(innerType(functionType())))))));
 1306     varDecl(hasType(pointsTo(parenType(innerType(functionType())))))));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
  109     qualType(functionType(), forEach(qualType(isInteger()).bind("x"))),