Searched refs:UndefinedButUsed (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | Sema.cpp | 800 for (const auto &UndefinedUse : UndefinedButUsed) { in getUndefinedButUsed() 852 if (S.UndefinedButUsed.empty()) return; in checkUndefinedButUsed() 911 S.UndefinedButUsed.clear(); in checkUndefinedButUsed() 1200 ExternalSource->ReadUndefinedButUsed(UndefinedButUsed); in ActOnEndOfTranslationUnit()
|
| H A D | SemaExpr.cpp | 18142 UndefinedButUsed.insert(std::make_pair(Func->getCanonicalDecl(), Loc)); in MarkFunctionReferenced() 18146 UndefinedButUsed.insert(std::make_pair(Func->getCanonicalDecl(), Loc)); in MarkFunctionReferenced() 18148 UndefinedButUsed.insert(std::make_pair(Func->getCanonicalDecl(), Loc)); in MarkFunctionReferenced() 18191 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()]; in MarkVarDeclODRUsed()
|
| H A D | SemaDecl.cpp | 3793 UndefinedButUsed.insert(std::make_pair(Old->getCanonicalDecl(), in MergeFunctionDecl() 3800 UndefinedButUsed.erase(Old->getCanonicalDecl()); in MergeFunctionDecl() 4613 UndefinedButUsed.insert(std::make_pair(Old->getCanonicalDecl(), in MergeVarDecl()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 4659 RecordData UndefinedButUsed; in WriteASTCore() local 4664 AddDeclRef(I.first, UndefinedButUsed); in WriteASTCore() 4665 AddSourceLocation(I.second, UndefinedButUsed); in WriteASTCore() 4981 if (!UndefinedButUsed.empty()) in WriteASTCore() 4982 Stream.EmitRecord(UNDEFINED_BUT_USED, UndefinedButUsed); in WriteASTCore()
|
| H A D | ASTReader.cpp | 3689 if (UndefinedButUsed.size() % 2 != 0) in ReadASTBlock() 3697 UndefinedButUsed.push_back(getGlobalDeclID(F, Record[I++])); in ReadASTBlock() 3698 UndefinedButUsed.push_back( in ReadASTBlock() 8335 for (unsigned Idx = 0, N = UndefinedButUsed.size(); Idx != N;) { in ReadUndefinedButUsed() 8336 NamedDecl *D = cast<NamedDecl>(GetDecl(UndefinedButUsed[Idx++])); in ReadUndefinedButUsed() 8338 SourceLocation::getFromRawEncoding(UndefinedButUsed[Idx++]); in ReadUndefinedButUsed()
|
| /llvm-project-15.0.7/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 904 SmallVector<serialization::DeclID, 8> UndefinedButUsed; variable
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 1457 llvm::MapVector<NamedDecl *, SourceLocation> UndefinedButUsed; variable
|