Home
last modified time | relevance | path

Searched refs:UndefinedButUsed (Results 1 – 7 of 7) sorted by relevance

/openbsd/gnu/llvm/clang/lib/Sema/
H A DSema.cpp802 for (const auto &UndefinedUse : UndefinedButUsed) { in getUndefinedButUsed()
854 if (S.UndefinedButUsed.empty()) return; in checkUndefinedButUsed()
913 S.UndefinedButUsed.clear(); in checkUndefinedButUsed()
1202 ExternalSource->ReadUndefinedButUsed(UndefinedButUsed); in ActOnEndOfTranslationUnit()
H A DSemaExpr.cpp18448 UndefinedButUsed.insert(std::make_pair(Func->getCanonicalDecl(), Loc)); in MarkFunctionReferenced()
18452 UndefinedButUsed.insert(std::make_pair(Func->getCanonicalDecl(), Loc)); in MarkFunctionReferenced()
18454 UndefinedButUsed.insert(std::make_pair(Func->getCanonicalDecl(), Loc)); in MarkFunctionReferenced()
18500 SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()]; in MarkVarDeclODRUsed()
H A DSemaDecl.cpp3869 UndefinedButUsed.insert(std::make_pair(Old->getCanonicalDecl(), in MergeFunctionDecl()
3876 UndefinedButUsed.erase(Old->getCanonicalDecl()); in MergeFunctionDecl()
4688 UndefinedButUsed.insert(std::make_pair(Old->getCanonicalDecl(), in MergeVarDecl()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTWriter.cpp4763 RecordData UndefinedButUsed; in WriteASTCore() local
4768 AddDeclRef(I.first, UndefinedButUsed); in WriteASTCore()
4769 AddSourceLocation(I.second, UndefinedButUsed); in WriteASTCore()
5085 if (!UndefinedButUsed.empty()) in WriteASTCore()
5086 Stream.EmitRecord(UNDEFINED_BUT_USED, UndefinedButUsed); in WriteASTCore()
H A DASTReader.cpp3685 if (UndefinedButUsed.size() % 2 != 0) in ReadASTBlock()
3693 UndefinedButUsed.push_back(getGlobalDeclID(F, Record[I++])); in ReadASTBlock()
3694 UndefinedButUsed.push_back( in ReadASTBlock()
8374 for (unsigned Idx = 0, N = UndefinedButUsed.size(); Idx != N;) { in ReadUndefinedButUsed()
8375 NamedDecl *D = cast<NamedDecl>(GetDecl(UndefinedButUsed[Idx++])); in ReadUndefinedButUsed()
8377 SourceLocation::getFromRawEncoding(UndefinedButUsed[Idx++]); in ReadUndefinedButUsed()
/openbsd/gnu/llvm/clang/include/clang/Serialization/
H A DASTReader.h922 SmallVector<serialization::DeclID, 8> UndefinedButUsed; variable
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DSema.h1489 llvm::MapVector<NamedDecl *, SourceLocation> UndefinedButUsed; variable