Home
last modified time | relevance | path

Searched refs:DiagStatesByLoc (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/lib/Basic/
DDiagnostic.cpp104 DiagStatesByLoc.dump(*SourceMgr); in dump()
108 DiagStatesByLoc.dump(*SourceMgr, DiagName); in dump()
150 DiagStatesByLoc.clear(); in Reset()
156 DiagStatesByLoc.appendFirst(&DiagStates.back()); in Reset()
352 DiagStatesByLoc.append(*SourceMgr, Loc, State); in PushDiagStatePoint()
378 if ((L.isInvalid() || L == DiagStatesByLoc.getCurDiagStateLoc()) && in setSeverity()
379 DiagStatesByLoc.getCurDiagState()) { in setSeverity()
384 DiagStatesByLoc.getCurDiagState()->setMapping(Diag, Mapping); in setSeverity()
/external/llvm-project/clang/include/clang/Basic/
DDiagnostic.h440 DiagStateMap DiagStatesByLoc; variable
447 return DiagStatesByLoc.getCurDiagState(); in GetCurDiagState()
455 return SourceMgr ? DiagStatesByLoc.lookup(*SourceMgr, Loc) in GetDiagStateForLoc()
456 : DiagStatesByLoc.getCurDiagState(); in GetDiagStateForLoc()
576 assert(DiagStatesByLoc.empty() && in setSourceManager()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp2776 unsigned Flags = EncodeDiagStateFlags(Diag.DiagStatesByLoc.FirstDiagState); in WritePragmaDiagnosticMappings()
2806 AddDiagState(Diag.DiagStatesByLoc.FirstDiagState, isModule); in WritePragmaDiagnosticMappings()
2814 for (auto &FileIDAndFile : Diag.DiagStatesByLoc.Files) { in WritePragmaDiagnosticMappings()
2840 AddSourceLocation(Diag.DiagStatesByLoc.CurDiagStateLoc, Record); in WritePragmaDiagnosticMappings()
2841 AddDiagState(Diag.DiagStatesByLoc.CurDiagState, false); in WritePragmaDiagnosticMappings()
DASTReader.cpp6253 FirstState = Diag.DiagStatesByLoc.FirstDiagState; in ReadPragmaDiagnosticMappings()
6281 Diag.DiagStatesByLoc.Files[F.OriginalSourceFileID] in ReadPragmaDiagnosticMappings()
6287 FirstState = ReadDiagState(*Diag.DiagStatesByLoc.CurDiagState, in ReadPragmaDiagnosticMappings()
6306 auto &F = Diag.DiagStatesByLoc.Files[IDAndOffset.first]; in ReadPragmaDiagnosticMappings()
6324 Diag.DiagStatesByLoc.CurDiagState = CurState; in ReadPragmaDiagnosticMappings()
6325 Diag.DiagStatesByLoc.CurDiagStateLoc = CurStateLoc; in ReadPragmaDiagnosticMappings()
6330 auto &T = Diag.DiagStatesByLoc.Files[NullFile].StateTransitions; in ReadPragmaDiagnosticMappings()