Lines Matching refs:Id
295 explicit VerifyIdIsBoundTo(llvm::StringRef Id) in VerifyIdIsBoundTo() argument
296 : Id(Id), ExpectedCount(-1), Count(0) {} in VerifyIdIsBoundTo()
300 VerifyIdIsBoundTo(llvm::StringRef Id, int ExpectedCount) in VerifyIdIsBoundTo() argument
301 : Id(Id), ExpectedCount(ExpectedCount), Count(0) {} in VerifyIdIsBoundTo()
306 VerifyIdIsBoundTo(llvm::StringRef Id, llvm::StringRef ExpectedName,
308 : Id(Id), ExpectedCount(ExpectedCount), Count(0), in Id() function
327 if (Nodes->getNodeAs<T>(Id)) { in run()
329 if (const NamedDecl *Named = Nodes->getNodeAs<NamedDecl>(Id)) { in run()
332 Nodes->getNodeAs<NestedNameSpecifier>(Id)) { in run()
336 BoundNodes::IDToNodeMap::const_iterator I = M.find(Id); in run()
339 EXPECT_EQ(Nodes->getNodeAs<T>(Id), I->second.get<T>()); in run()
342 EXPECT_TRUE(M.count(Id) == 0 || in run()
343 M.find(Id)->second.template get<T>() == nullptr); in run()
352 const std::string Id;