Searched refs:FoundDecls (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnusedAliasDeclsCheck.cpp | 30 FoundDecls[AliasDecl] = CharSourceRange::getCharRange( in check() 42 FoundDecls[AliasDecl] = CharSourceRange(); in check() 48 for (const auto &FoundDecl : FoundDecls) { in onEndOfTranslationUnit()
|
| H A D | UnusedAliasDeclsCheck.h | 32 llvm::DenseMap<const NamedDecl *, CharSourceRange> FoundDecls;
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterFixtures.cpp | 160 SmallVector<NamedDecl *, 1> FoundDecls; in getImportedDecl() local 162 FoundDecls); in getImportedDecl() 164 assert(FoundDecls.size() == 1); in getImportedDecl() 167 FromTU.import(SharedStatePtr, ToAST.get(), FoundDecls.front()); in getImportedDecl() 170 return std::make_tuple(*FoundDecls.begin(), Imported); in getImportedDecl()
|
| H A D | ASTImporterTest.cpp | 4885 SmallVector<NamedDecl *, 2> FoundDecls; in TEST_P() local 4887 EXPECT_EQ(FoundDecls.size(), 0u); in TEST_P() 4891 EXPECT_EQ(FoundDecls.size(), 0u); in TEST_P() 4921 SmallVector<NamedDecl *, 2> FoundDecls; in TEST_P() local 4923 EXPECT_EQ(FoundDecls.size(), 0u); in TEST_P() 4927 EXPECT_EQ(FoundDecls.size(), 0u); in TEST_P() 5233 EXPECT_EQ(FoundDecls.size(), 1u); in TEST_P() 5242 EXPECT_EQ(FoundDecls.size(), 1u); in TEST_P() 5243 EXPECT_EQ(FoundDecls[0], FieldInSpec); in TEST_P() 5318 EXPECT_EQ(FoundDecls.size(), 1u); in TEST_P() [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 2386 for (auto *FoundDecl : FoundDecls) { in VisitNamespaceDecl() 2713 auto FoundDecls = in VisitEnumDecl() local 2827 auto FoundDecls = in VisitRecordDecl() local 2829 if (!FoundDecls.empty()) { in VisitRecordDecl() 3716 for (auto *FoundDecl : FoundDecls) { in VisitFieldDecl() 4006 for (auto *FoundDecl : FoundDecls) { in VisitObjCIvarDecl() 4312 for (auto *FoundDecl : FoundDecls) { in VisitObjCMethodDecl() 4623 for (auto *FoundDecl : FoundDecls) { in VisitObjCProtocolDecl() 5146 for (auto *FoundDecl : FoundDecls) { in VisitObjCInterfaceDecl() 5319 for (auto *FoundDecl : FoundDecls) { in VisitObjCPropertyDecl() [all …]
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprCXX.cpp | 177 llvm::SmallVector<NamedDecl*, 8> FoundDecls; in getDestructorName() local 212 FoundDecls.push_back(D); in getDestructorName() 369 unsigned NumNonExtensionDecls = FoundDecls.size(); in getDestructorName() 395 Diag(FoundDecls.back()->getLocation(), diag::note_destructor_type_here) in getDestructorName() 406 FoundDecls.resize(NumNonExtensionDecls); in getDestructorName() 409 std::stable_sort(FoundDecls.begin(), FoundDecls.end(), in getDestructorName() 429 if (FoundDecls.empty()) { in getDestructorName() 433 } else if (!SearchType.isNull() && FoundDecls.size() == 1) { in getDestructorName() 434 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) { in getDestructorName() 450 for (NamedDecl *FoundD : FoundDecls) { in getDestructorName()
|