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

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 5546 extern const AstTypeMatcher<AutoType> autoType;

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  138   REGISTER_MATCHER(autoType);
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp
  137                                      hasType(autoType().bind("deduced_type")))))
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp
   24       hasType(pointerType()), hasType(autoType(hasDeducedType(pointerType()))),
tools/clang/tools/extra/clang-tidy/misc/UnconventionalAssignOperatorCheck.cpp
   28               anyOf(autoType(), hasDeclaration(equalsBoundNode("class")))))));
tools/clang/tools/extra/clang-tidy/modernize/ReturnBracedInitListCheck.cpp
   39                    returns(unless(anyOf(builtinType(), autoType()))),
tools/clang/tools/extra/clang-tidy/modernize/UseAutoCheck.cpp
  309       unless(has(varDecl(anyOf(hasType(autoType()),
  310                                hasType(qualType(hasDescendant(autoType()))))))),
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
  376                                      returns(autoType()), cxxConversionDecl(),
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
 1253   EXPECT_TRUE(matches("auto i = 2;", autoType()));
 1255                       autoType()));