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

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 1065 extern const internal::VariadicDynCastAllOfMatcher<Decl, ValueDecl> valueDecl;

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  520   REGISTER_MATCHER(valueDecl);
tools/clang/tools/extra/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.cpp
   24       valueDecl(allOf(
tools/clang/tools/extra/clang-tidy/misc/MisplacedConstCheck.cpp
   21       valueDecl(hasType(isConstQualified()),
tools/clang/tools/extra/clang-tidy/modernize/ShrinkToFitCheck.cpp
   28       memberExpr(member(valueDecl().bind("ContainerDecl")));
   30       declRefExpr(hasDeclaration(valueDecl().bind("ContainerDecl")));
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
 2198   EXPECT_TRUE(matches("void f(int i[]);", valueDecl(hasType(decayedType(hasDecayedType(pointerType()))))));
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
  157                       valueDecl(hasType(asString("enum EnumType")))));
  159                       valueDecl(hasType(asString("void (void)")))));