Home
last modified time | relevance | path

Searched refs:VerifyIdIsBoundTo (Results 1 – 4 of 4) 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 …]