Home
last modified time | relevance | path

Searched refs:VerifyIdIsBoundTo (Results 1 – 9 of 9) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp84 llvm::make_unique<VerifyIdIsBoundTo<Decl>>("x", 3))); in TEST()
99 llvm::make_unique<VerifyIdIsBoundTo<Type>>("x", 2))); in TEST()
111 llvm::make_unique<VerifyIdIsBoundTo<QualType>>("x", 2))); in TEST()
388 CallExpr, llvm::make_unique<VerifyIdIsBoundTo<ParmVarDecl>>("param", 1))); in TEST()
400 CallExpr2, llvm::make_unique<VerifyIdIsBoundTo<ParmVarDecl>>("param", 1))); in TEST()
412 llvm::make_unique<VerifyIdIsBoundTo<ParmVarDecl>>( in TEST()
416 llvm::make_unique<VerifyIdIsBoundTo<DeclRefExpr>>( in TEST()
421 llvm::make_unique<VerifyIdIsBoundTo<ParmVarDecl>>("param", 2))); in TEST()
424 llvm::make_unique<VerifyIdIsBoundTo<DeclRefExpr>>("arg", 2))); in TEST()
441 llvm::make_unique<VerifyIdIsBoundTo<ParmVarDecl>>("param"))); in TEST()
[all …]
DASTMatchersInternalTest.cpp66 HasClassB, llvm::make_unique<VerifyIdIsBoundTo<Decl>>("b"))); in TEST()
69 HasClassB, llvm::make_unique<VerifyIdIsBoundTo<Decl>>("a"))); in TEST()
72 HasClassB, llvm::make_unique<VerifyIdIsBoundTo<Decl>>("b"))); in TEST()
89 HasClassB, llvm::make_unique<VerifyIdIsBoundTo<Decl>>("b"))); in TEST()
92 HasClassB, llvm::make_unique<VerifyIdIsBoundTo<Decl>>("a"))); in TEST()
95 HasClassB, llvm::make_unique<VerifyIdIsBoundTo<Decl>>("b"))); in TEST()
DASTMatchersTest.h291 class VerifyIdIsBoundTo : public BoundNodesCallback {
295 explicit VerifyIdIsBoundTo(llvm::StringRef Id) in VerifyIdIsBoundTo() function
300 VerifyIdIsBoundTo(llvm::StringRef Id, int ExpectedCount) in VerifyIdIsBoundTo() function
306 VerifyIdIsBoundTo(llvm::StringRef Id, llvm::StringRef ExpectedName,
320 ~VerifyIdIsBoundTo() override { in ~VerifyIdIsBoundTo()
DASTMatchersNarrowingTest.cpp550 … ClassX, llvm::make_unique<VerifyIdIsBoundTo<CXXRecordDecl>>("x"))); in TEST()
553 … ClassX, llvm::make_unique<VerifyIdIsBoundTo<CXXRecordDecl>>("other-id"))); in TEST()
560 llvm::make_unique<VerifyIdIsBoundTo<Decl>>("b"))); in TEST()
567 … llvm::make_unique<VerifyIdIsBoundTo<CXXMemberCallExpr>>("x"))); in TEST()
584 llvm::make_unique<VerifyIdIsBoundTo<CallExpr>>("x"))); in TEST()
596 llvm::make_unique<VerifyIdIsBoundTo<Decl>>("x", 2))); in TEST()
646 llvm::make_unique<VerifyIdIsBoundTo<CXXOperatorCallExpr>>("x", 2))); in TEST()
1535 llvm::make_unique<VerifyIdIsBoundTo<FieldDecl>>("v", 2))); in TEST()
1543 llvm::make_unique<VerifyIdIsBoundTo<FieldDecl>>("v", 1))); in TEST()
1548 llvm::make_unique<VerifyIdIsBoundTo<FieldDecl>>("v", 1))); in TEST()
[all …]
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp83 std::make_unique<VerifyIdIsBoundTo<Decl>>("x", 3))); in TEST()
98 std::make_unique<VerifyIdIsBoundTo<Type>>("x", 2))); in TEST()
110 std::make_unique<VerifyIdIsBoundTo<QualType>>("x", 2))); in TEST()
670 CallExpr, std::make_unique<VerifyIdIsBoundTo<ParmVarDecl>>("param", 1))); in TEST()
682 CallExpr2, std::make_unique<VerifyIdIsBoundTo<ParmVarDecl>>("param", 1))); in TEST()
694 std::make_unique<VerifyIdIsBoundTo<ParmVarDecl>>( in TEST()
698 std::make_unique<VerifyIdIsBoundTo<DeclRefExpr>>( in TEST()
703 std::make_unique<VerifyIdIsBoundTo<ParmVarDecl>>("param", 2))); in TEST()
706 std::make_unique<VerifyIdIsBoundTo<DeclRefExpr>>("arg", 2))); in TEST()
724 std::make_unique<VerifyIdIsBoundTo<ParmVarDecl>>("param"))); in TEST()
[all …]
DASTMatchersInternalTest.cpp59 HasClassB, std::make_unique<VerifyIdIsBoundTo<Decl>>("b"))); in TEST()
62 HasClassB, std::make_unique<VerifyIdIsBoundTo<Decl>>("a"))); in TEST()
65 HasClassB, std::make_unique<VerifyIdIsBoundTo<Decl>>("b"))); in TEST()
81 HasClassB, std::make_unique<VerifyIdIsBoundTo<Decl>>("b"))); in TEST()
84 HasClassB, std::make_unique<VerifyIdIsBoundTo<Decl>>("a"))); in TEST()
87 HasClassB, std::make_unique<VerifyIdIsBoundTo<Decl>>("b"))); in TEST()
DASTMatchersTest.h354 template <typename T> class VerifyIdIsBoundTo : public BoundNodesCallback {
358 explicit VerifyIdIsBoundTo(llvm::StringRef Id) in VerifyIdIsBoundTo() function
363 VerifyIdIsBoundTo(llvm::StringRef Id, int ExpectedCount) in VerifyIdIsBoundTo() function
369 VerifyIdIsBoundTo(llvm::StringRef Id, llvm::StringRef ExpectedName,
385 ~VerifyIdIsBoundTo() override { in ~VerifyIdIsBoundTo()
DASTMatchersNarrowingTest.cpp856 std::make_unique<VerifyIdIsBoundTo<CXXRecordDecl>>("x"))); in TEST_P()
860 std::make_unique<VerifyIdIsBoundTo<CXXRecordDecl>>("other-id"))); in TEST_P()
867 std::make_unique<VerifyIdIsBoundTo<Decl>>("b"))); in TEST_P()
874 std::make_unique<VerifyIdIsBoundTo<CXXMemberCallExpr>>("x"))); in TEST_P()
888 std::make_unique<VerifyIdIsBoundTo<CallExpr>>("x"))); in TEST_P()
900 std::make_unique<VerifyIdIsBoundTo<Decl>>("x", 2))); in TEST_P()
968 std::make_unique<VerifyIdIsBoundTo<CXXOperatorCallExpr>>("x", 2))); in TEST_P()
2456 std::make_unique<VerifyIdIsBoundTo<FieldDecl>>("v", 2))); in TEST_P()
2464 std::make_unique<VerifyIdIsBoundTo<FieldDecl>>("v", 1))); in TEST_P()
2469 std::make_unique<VerifyIdIsBoundTo<FieldDecl>>("v", 1))); in TEST_P()
[all …]
/external/llvm-project/clang/unittests/ASTMatchers/Dynamic/
DParserTest.cpp570 std::make_unique<VerifyIdIsBoundTo<FunctionDecl>>("parmABinding"))); in TEST()
573 std::make_unique<VerifyIdIsBoundTo<FunctionDecl>>("parmABinding"))); in TEST()
585 std::make_unique<VerifyIdIsBoundTo<FunctionDecl>>("parmABinding"))); in TEST()
588 std::make_unique<VerifyIdIsBoundTo<FunctionDecl>>("parmABinding"))); in TEST()