/openbsd/gnu/llvm/clang/include/clang/Lex/ |
H A D | PPCallbacks.h | 192 virtual void Ident(SourceLocation Loc, StringRef str) { in Ident() 196 virtual void PragmaDirective(SourceLocation Loc, in PragmaDirective() 244 virtual void PragmaDiagnosticPush(SourceLocation Loc, in PragmaDiagnosticPush() 250 virtual void PragmaDiagnosticPop(SourceLocation Loc, in PragmaDiagnosticPop() 277 virtual void PragmaWarning(SourceLocation Loc, in PragmaWarning() 286 virtual void PragmaWarningPop(SourceLocation Loc) { in PragmaWarningPop() 295 virtual void PragmaExecCharsetPop(SourceLocation Loc) {} in PragmaExecCharsetPop() 453 SourceLocation Loc) override { in LexedFileChanged() 514 void PragmaDirective(SourceLocation Loc, in PragmaDirective() 585 void PragmaWarningPop(SourceLocation Loc) override { in PragmaWarningPop() [all …]
|
/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | TypeLoc.h | 527 void setNameLoc(SourceLocation Loc) { in setNameLoc() 773 void setNameLoc(SourceLocation Loc) { in setNameLoc() 1085 void setNameLoc(SourceLocation Loc) { in setNameLoc() 1265 void setStarLoc(SourceLocation Loc) { in setStarLoc() 1296 void setStarLoc(SourceLocation Loc) { in setStarLoc() 1334 void setStarLoc(SourceLocation Loc) { in setStarLoc() 1356 void setAmpLoc(SourceLocation Loc) { in setAmpLoc() 2218 void copy(AutoTypeLoc Loc) { in copy() 2328 void copy(ElaboratedTypeLoc Loc) { in copy() 2370 void setNameLoc(SourceLocation Loc) { in setNameLoc() [all …]
|
/openbsd/gnu/llvm/clang/lib/Lex/ |
H A D | PPConditionalDirectiveRecord.cpp | 75 void PPConditionalDirectiveRecord::If(SourceLocation Loc, in If() 82 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc, in Ifdef() 89 void PPConditionalDirectiveRecord::Ifndef(SourceLocation Loc, in Ifndef() 96 void PPConditionalDirectiveRecord::Elif(SourceLocation Loc, in Elif() 104 void PPConditionalDirectiveRecord::Elifdef(SourceLocation Loc, const Token &, in Elifdef() 109 void PPConditionalDirectiveRecord::Elifdef(SourceLocation Loc, SourceRange, in Elifdef() argument 115 void PPConditionalDirectiveRecord::Elifndef(SourceLocation Loc, const Token &, in Elifndef() 120 void PPConditionalDirectiveRecord::Elifndef(SourceLocation Loc, SourceRange, in Elifndef() argument 126 void PPConditionalDirectiveRecord::Else(SourceLocation Loc, in Else() 132 void PPConditionalDirectiveRecord::Endif(SourceLocation Loc, in Endif()
|
/openbsd/gnu/llvm/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers.h | 20 SourceLocation Loc; member 42 SourceLocation Loc; member 53 SourceLocation Loc; member 74 SourceLocation Loc; member 85 SourceLocation Loc; member 94 SourceLocation Loc; member 103 SourceLocation Loc; member 118 SourceLocation Loc; member 128 SourceLocation Loc; member 146 SourceLocation Loc; member [all …]
|
H A D | ubsan_handlers.cpp | 88 Location Loc = Data->Loc.acquire(); in handleTypeMismatchImpl() local 156 Location Loc = Data->Loc.acquire(); in handleAlignmentAssumptionImpl() local 212 SourceLocation Loc = Data->Loc.acquire(); in handleIntegerOverflowImpl() local 251 SourceLocation Loc = Data->Loc.acquire(); in handleNegateOverflowImpl() local 288 SourceLocation Loc = Data->Loc.acquire(); in handleDivremOverflowImpl() local 333 SourceLocation Loc = Data->Loc.acquire(); in handleShiftOutOfBoundsImpl() local 383 SourceLocation Loc = Data->Loc.acquire(); in handleOutOfBoundsImpl() local 438 SourceLocation Loc = Data->Loc.acquire(); in handleVLABoundNotPositive() local 484 Location Loc; in handleFloatCastOverflow() local 524 SourceLocation Loc = Data->Loc.acquire(); in handleLoadInvalidValue() local [all …]
|
/openbsd/gnu/llvm/clang/lib/Analysis/FlowSensitive/ |
H A D | Transfer.cpp | 165 auto &Loc = Env.createStorageLocation(*S); in VisitBinaryOperator() local 176 auto &Loc = Env.createStorageLocation(*S); in VisitBinaryOperator() local 204 auto &Loc = Env.createStorageLocation(*S); in VisitDeclRefExpr() local 228 auto &Loc = *MaybeLoc; in VisitDeclStmt() local 428 auto &Loc = Env.createStorageLocation(*S); in VisitCXXThisExpr() local 450 auto *Loc = Env.getReturnStorageLocation(); in VisitReturnStmt() local 566 auto &Loc = Env.createStorageLocation(*S); in VisitCXXConstructExpr() local 621 auto &Loc = Env.createStorageLocation(*S); in VisitCXXTemporaryObjectExpr() local 697 auto &Loc = Env.createStorageLocation(*S); in VisitConditionalOperator() local 706 auto &Loc = Env.createStorageLocation(*S); in VisitInitListExpr() local [all …]
|
H A D | DataflowEnvironment.cpp | 210 auto &Loc = createStorageLocation(*D); in initVars() local 369 auto &Loc = createStorageLocation(*Param); in pushCallInternal() local 415 const StorageLocation *Loc = Entry.first; in equivalentTo() local 462 const StorageLocation *Loc = Entry.first; in widen() local 531 const StorageLocation *Loc = Entry.first; in join() local 591 void Environment::setStorageLocation(const Expr &E, StorageLocation &Loc) { in setStorageLocation() 616 void Environment::setValue(const StorageLocation &Loc, Value &Val) { in setValue() 655 auto *Loc = getStorageLocation(D, SP); in getValue() local 662 auto *Loc = getStorageLocation(E, SP); in getValue() local 761 StorageLocation &Environment::skip(StorageLocation &Loc, SkipPast SP) const { in skip() [all …]
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | DeclSpec.cpp | 719 bool DeclSpec::SetTypeSpecComplex(TSC C, SourceLocation Loc, in SetTypeSpecComplex() 738 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType() 769 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType() 791 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType() 832 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType() 884 bool DeclSpec::SetTypePipe(bool isPipe, SourceLocation Loc, in SetTypePipe() 980 bool DeclSpec::SetTypeQual(TQ T, SourceLocation Loc) { in SetTypeQual() 1021 bool DeclSpec::setFunctionSpecVirtual(SourceLocation Loc, in setFunctionSpecVirtual() 1036 bool DeclSpec::setFunctionSpecExplicit(SourceLocation Loc, in setFunctionSpecExplicit() 1055 bool DeclSpec::setFunctionSpecNoreturn(SourceLocation Loc, in setFunctionSpecNoreturn() [all …]
|
H A D | SemaCoroutine.cpp | 33 SourceLocation Loc, bool &Res) { in lookupMember() 44 SourceLocation Loc) { in lookupMember() 141 SourceLocation Loc) { in lookupCoroutineHandleType() 183 static bool isValidCoroutineContext(Sema &S, SourceLocation Loc, in isValidCoroutineContext() 268 SourceLocation Loc) { in buildCoroutineHandle() 331 SourceLocation Loc) { in maybeTailCall() 481 VarDecl *Sema::buildCoroutinePromise(SourceLocation Loc) { in buildCoroutinePromise() 705 SourceLocation Loc = Fn->getLocation(); in ActOnCoroutineBodyStart() local 771 static bool checkSuspensionContext(Sema &S, SourceLocation Loc, in checkSuspensionContext() 1203 auto Loc = E->getExprLoc(); in diagReturnOnAllocFailure() local [all …]
|
/openbsd/gnu/llvm/llvm/include/llvm/Support/ |
H A D | ModRef.h | 81 static uint32_t getLocationPos(Location Loc) { in getLocationPos() 87 void setModRef(Location Loc, ModRefInfo MR) { in setModRef() 103 MemoryEffects(Location Loc, ModRefInfo MR) { setModRef(Loc, MR); } in MemoryEffects() 108 for (Location Loc : locations()) in MemoryEffects() local 164 ModRefInfo getModRef(Location Loc) const { in getModRef() 169 MemoryEffects getWithModRef(Location Loc, ModRefInfo MR) const { in getWithModRef() 176 MemoryEffects getWithoutLoc(Location Loc) const { in getWithoutLoc() 185 for (Location Loc : locations()) in getModRef() local
|
/openbsd/gnu/llvm/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 86 void DiagnosticRenderer::emitDiagnostic(FullSourceLoc Loc, in emitDiagnostic() 218 void DiagnosticRenderer::emitImportStack(FullSourceLoc Loc) { in emitImportStack() 260 retrieveMacroLocation(SourceLocation Loc, FileID MacroFileID, in retrieveMacroLocation() 315 static void getMacroArgExpansionFileIDs(SourceLocation Loc, in getMacroArgExpansionFileIDs() 423 void DiagnosticRenderer::emitCaret(FullSourceLoc Loc, in emitCaret() 435 FullSourceLoc Loc, DiagnosticsEngine::Level Level, in emitSingleMacroExpansion() 461 static bool checkLocForMacroArgExpansion(SourceLocation Loc, in checkLocForMacroArgExpansion() 489 static bool checkRangesForMacroArgExpansion(FullSourceLoc Loc, in checkRangesForMacroArgExpansion() 531 void DiagnosticRenderer::emitMacroExpansions(FullSourceLoc Loc, in emitMacroExpansions() 598 void DiagnosticNoteRenderer::emitIncludeLocation(FullSourceLoc Loc, in emitIncludeLocation() [all …]
|
H A D | PrintPreprocessedOutput.cpp | 201 bool MoveToLine(SourceLocation Loc, bool RequireStartOfLine) { in MoveToLine() 324 void PrintPPOutputPPCallbacks::FileChanged(SourceLocation Loc, in FileChanged() 510 void PrintPPOutputPPCallbacks::PragmaMessage(SourceLocation Loc, in PragmaMessage() 537 void PrintPPOutputPPCallbacks::PragmaDebug(SourceLocation Loc, in PragmaDebug() 548 PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) { in PragmaDiagnosticPush() 555 PragmaDiagnosticPop(SourceLocation Loc, StringRef Namespace) { in PragmaDiagnosticPop() 561 void PrintPPOutputPPCallbacks::PragmaDiagnostic(SourceLocation Loc, in PragmaDiagnostic() 588 void PrintPPOutputPPCallbacks::PragmaWarning(SourceLocation Loc, in PragmaWarning() 613 void PrintPPOutputPPCallbacks::PragmaWarningPush(SourceLocation Loc, in PragmaWarningPush() 646 PragmaAssumeNonNullBegin(SourceLocation Loc) { in PragmaAssumeNonNullBegin() [all …]
|
H A D | SARIFDiagnostic.cpp | 40 FullSourceLoc Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, in emitDiagnosticMessage() 65 SarifResult Result, FullSourceLoc Loc, PresumedLoc PLoc, in addLocationToResult() 205 void SARIFDiagnostic::emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc, in emitDiagnosticLoc() 211 void SARIFDiagnostic::emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) { in emitIncludeLocation() 215 void SARIFDiagnostic::emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc, in emitImportLocation() 220 void SARIFDiagnostic::emitBuildingModuleLocation(FullSourceLoc Loc, in emitBuildingModuleLocation()
|
/openbsd/gnu/llvm/clang/include/clang/Sema/ |
H A D | TemplateDeduction.h | 48 SourceLocation Loc; variable 66 : Loc(Loc), DeducedDepth(DeducedDepth) {} in Loc() function 150 void addSFINAEDiagnostic(SourceLocation Loc, PartialDiagnostic PD) { in addSFINAEDiagnostic() 160 void addSuppressedDiagnostic(SourceLocation Loc, in addSuppressedDiagnostic() 328 SourceLocation Loc; variable 339 : Loc(Loc), ForTakingAddress(ForTakingAddress) {} in Loc() function 368 void NoteCandidates(Sema &S, SourceLocation Loc) const { in NoteCandidates()
|
/openbsd/gnu/llvm/clang/lib/ExtractAPI/ |
H A D | ExtractAPIVisitor.cpp | 77 PresumedLoc Loc = in VisitVarDecl() local 137 PresumedLoc Loc = in VisitFunctionDecl() local 183 PresumedLoc Loc = in VisitEnumDecl() local 226 PresumedLoc Loc = in VisitRecordDecl() local 260 PresumedLoc Loc = in VisitObjCInterfaceDecl() local 306 PresumedLoc Loc = in VisitObjCProtocolDecl() local 341 PresumedLoc Loc = in VisitTypedefNameDecl() local 367 PresumedLoc Loc = in VisitObjCCategoryDecl() local 403 PresumedLoc Loc = in recordEnumConstants() local 430 PresumedLoc Loc = in recordStructFields() local [all …]
|
H A D | API.cpp | 48 APISet::addGlobalVar(StringRef Name, StringRef USR, PresumedLoc Loc, in addGlobalVar() 58 StringRef Name, StringRef USR, PresumedLoc Loc, in addGlobalFunction() 70 StringRef USR, PresumedLoc Loc, in addEnumConstant() 85 EnumRecord *APISet::addEnum(StringRef Name, StringRef USR, PresumedLoc Loc, in addEnum() 97 StringRef USR, PresumedLoc Loc, in addStructField() 112 StructRecord *APISet::addStruct(StringRef Name, StringRef USR, PresumedLoc Loc, in addStruct() 124 StringRef Name, StringRef USR, PresumedLoc Loc, in addObjCCategory() 144 APISet::addObjCInterface(StringRef Name, StringRef USR, PresumedLoc Loc, in addObjCInterface() 217 PresumedLoc Loc, in addObjCProtocol() 229 APISet::addMacroDefinition(StringRef Name, StringRef USR, PresumedLoc Loc, in addMacroDefinition() [all …]
|
/openbsd/gnu/llvm/llvm/lib/MC/MCParser/ |
H A D | COFFMasmParser.cpp | 242 bool COFFMasmParser::ParseDirectiveSegment(StringRef Directive, SMLoc Loc) { in ParseDirectiveSegment() 378 bool COFFMasmParser::ParseDirectiveSegmentEnd(StringRef Directive, SMLoc Loc) { in ParseDirectiveSegmentEnd() 391 bool COFFMasmParser::ParseDirectiveIncludelib(StringRef Directive, SMLoc Loc) { in ParseDirectiveIncludelib() 410 bool COFFMasmParser::ParseDirectiveOption(StringRef Directive, SMLoc Loc) { in ParseDirectiveOption() 450 bool COFFMasmParser::ParseDirectiveProc(StringRef Directive, SMLoc Loc) { in ParseDirectiveProc() 486 bool COFFMasmParser::ParseDirectiveEndProc(StringRef Directive, SMLoc Loc) { in ParseDirectiveEndProc() 506 bool COFFMasmParser::ParseDirectiveAlias(StringRef Directive, SMLoc Loc) { in ParseDirectiveAlias() 526 SMLoc Loc) { in ParseSEHDirectiveAllocStack() 538 SMLoc Loc) { in ParseSEHDirectiveEndProlog()
|
H A D | COFFAsmParser.cpp | 310 bool COFFAsmParser::ParseDirectiveCGProfile(StringRef S, SMLoc Loc) { in ParseDirectiveCGProfile() 593 bool COFFAsmParser::ParseDirectiveLinkOnce(StringRef, SMLoc Loc) { in ParseDirectiveLinkOnce() 617 bool COFFAsmParser::ParseSEHDirectiveStartProc(StringRef, SMLoc Loc) { in ParseSEHDirectiveStartProc() 632 bool COFFAsmParser::ParseSEHDirectiveEndProc(StringRef, SMLoc Loc) { in ParseSEHDirectiveEndProc() 638 bool COFFAsmParser::ParseSEHDirectiveEndFuncletOrFunc(StringRef, SMLoc Loc) { in ParseSEHDirectiveEndFuncletOrFunc() 644 bool COFFAsmParser::ParseSEHDirectiveStartChained(StringRef, SMLoc Loc) { in ParseSEHDirectiveStartChained() 650 bool COFFAsmParser::ParseSEHDirectiveEndChained(StringRef, SMLoc Loc) { in ParseSEHDirectiveEndChained() 656 bool COFFAsmParser::ParseSEHDirectiveHandler(StringRef, SMLoc Loc) { in ParseSEHDirectiveHandler() 682 bool COFFAsmParser::ParseSEHDirectiveHandlerData(StringRef, SMLoc Loc) { in ParseSEHDirectiveHandlerData() 688 bool COFFAsmParser::ParseSEHDirectiveAllocStack(StringRef, SMLoc Loc) { in ParseSEHDirectiveAllocStack() [all …]
|
/openbsd/gnu/llvm/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafety.h | 102 virtual void handleInvalidLockExp(SourceLocation Loc) {} in handleInvalidLockExp() 112 SourceLocation Loc, in handleUnmatchedUnlock() 176 AccessKind AK, SourceLocation Loc) {} in handleNoMutexHeld() 200 SourceLocation Loc) {} in handleNegativeNotHeld() 208 SourceLocation Loc) {} in handleNegativeNotHeld() 218 Name LockName, SourceLocation Loc) {} in handleFunExcludesLock() 222 Name L2Name, SourceLocation Loc) {} in handleLockAcquiredBefore() 225 virtual void handleBeforeAfterCycle(Name L1Name, SourceLocation Loc) {} in handleBeforeAfterCycle()
|
H A D | Consumed.h | 70 virtual void warnLoopStateMismatch(SourceLocation Loc, in warnLoopStateMismatch() 82 virtual void warnParamReturnTypestateMismatch(SourceLocation Loc, in warnParamReturnTypestateMismatch() 99 virtual void warnReturnTypestateForUnconsumableType(SourceLocation Loc, in warnReturnTypestateForUnconsumableType() 111 virtual void warnReturnTypestateMismatch(SourceLocation Loc, in warnReturnTypestateMismatch() 124 SourceLocation Loc) {} in warnUseOfTempInInvalidState() 139 SourceLocation Loc) {} in warnUseInInvalidState()
|
/openbsd/gnu/llvm/llvm/tools/llvm-mca/ |
H A D | CodeRegion.cpp | 28 SMLoc Loc = Instruction.getLoc(); in addInstruction() local 39 void AnalysisRegions::beginRegion(StringRef Description, SMLoc Loc) { in beginRegion() 75 void AnalysisRegions::endRegion(StringRef Description, SMLoc Loc) { in endRegion() 117 void InstrumentRegions::beginRegion(StringRef Description, SMLoc Loc, in beginRegion() 143 void InstrumentRegions::endRegion(StringRef Description, SMLoc Loc) { in endRegion()
|
/openbsd/gnu/llvm/clang/lib/AST/Interp/ |
H A D | State.cpp | 20 OptionalDiagnostic State::FFDiag(SourceLocation Loc, diag::kind DiagId, in FFDiag() 41 OptionalDiagnostic State::CCEDiag(SourceLocation Loc, diag::kind DiagId, in CCEDiag() 62 OptionalDiagnostic State::Note(SourceLocation Loc, diag::kind DiagId) { in Note() 75 DiagnosticBuilder State::report(SourceLocation Loc, diag::kind DiagId) { in report() 80 PartialDiagnostic &State::addDiag(SourceLocation Loc, diag::kind DiagId) { in addDiag() 86 OptionalDiagnostic State::diag(SourceLocation Loc, diag::kind DiagId, in diag()
|
H A D | Interp.cpp | 106 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckInitialized() local 138 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckActive() local 187 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckExtern() local 236 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckNull() local 245 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange() local 254 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange() local 266 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckConst() local 277 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckMutable() local 338 const SourceLocation &Loc = S.Current->getLocation(OpPC); in CheckCallable() local 345 const SourceLocation &Loc = S.Current->getLocation(OpPC); in CheckCallable() local [all …]
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | AliasAnalysis.cpp | 149 ModRefInfo AAResults::getModRefInfoMask(const MemoryLocation &Loc, in getModRefInfoMask() 155 ModRefInfo AAResults::getModRefInfoMask(const MemoryLocation &Loc, in getModRefInfoMask() 212 const MemoryLocation &Loc, in getModRefInfo() 467 const MemoryLocation &Loc, in getModRefInfo() 485 const MemoryLocation &Loc, in getModRefInfo() 511 const MemoryLocation &Loc, in getModRefInfo() 522 const MemoryLocation &Loc, in getModRefInfo() 541 const MemoryLocation &Loc, in getModRefInfo() 554 const MemoryLocation &Loc, in getModRefInfo() 567 const MemoryLocation &Loc, in getModRefInfo() [all …]
|
/openbsd/gnu/llvm/llvm/include/llvm/IR/ |
H A D | DiagnosticInfo.h | 326 const DiagnosticLocation &Loc) in DiagnosticInfoWithLocationBase() 353 DiagnosticLocation Loc; variable 430 DiagnosticLocation Loc; member 460 const DiagnosticLocation &Loc) in DiagnosticInfoOptimizationBase() 640 Loc), in DiagnosticInfoOptimizationBase() argument 728 const DiagnosticLocation &Loc, const Twine &Msg) in OptimizationRemark() 865 const DiagnosticLocation &Loc, in OptimizationRemarkAnalysisFPCommute() 887 const DiagnosticLocation &Loc, in OptimizationRemarkAnalysisFPCommute() 906 const DiagnosticLocation &Loc, in OptimizationRemarkAnalysisAliasing() 928 const DiagnosticLocation &Loc, in OptimizationRemarkAnalysisAliasing() [all …]
|