Home
last modified time | relevance | path

Searched defs:Loc (Results 1 – 25 of 572) sorted by relevance

12345678910>>...23

/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DPPCallbacks.h72 FileID PrevFID, SourceLocation Loc) {} in LexedFileChanged()
192 virtual void Ident(SourceLocation Loc, StringRef str) { in Ident()
196 virtual void PragmaDirective(SourceLocation Loc, in PragmaDirective()
201 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, in PragmaComment()
206 virtual void PragmaMark(SourceLocation Loc, StringRef Trivia) { in PragmaMark()
211 virtual void PragmaDetectMismatch(SourceLocation Loc, StringRef Name, in PragmaDetectMismatch()
218 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) { in PragmaDebug()
238 virtual void PragmaMessage(SourceLocation Loc, StringRef Namespace, in PragmaMessage()
244 virtual void PragmaDiagnosticPush(SourceLocation Loc, in PragmaDiagnosticPush()
250 virtual void PragmaDiagnosticPop(SourceLocation Loc, in PragmaDiagnosticPop()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DTypeLoc.h196 void initialize(ASTContext &Context, SourceLocation Loc) const { in initialize()
291 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal()
327 if (QualifiedTypeLoc Loc = getAs<QualifiedTypeLoc>()) in getUnqualifiedLoc() local
527 void setNameLoc(SourceLocation Loc) { in setNameLoc()
535 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal()
559 void setBuiltinLoc(SourceLocation Loc) { in setBuiltinLoc()
656 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal()
773 void setNameLoc(SourceLocation Loc) { in setNameLoc()
783 void setProtocolLAngleLoc(SourceLocation Loc) { in setProtocolLAngleLoc()
793 void setProtocolRAngleLoc(SourceLocation Loc) { in setProtocolRAngleLoc()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp75 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-src/gnu/llvm/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h20 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 Dubsan_handlers.cpp88 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-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp115 auto *Loc = Env.getStorageLocation(E, SkipPast::Reference); in maybeUnpackLValueExpr() local
165 auto &Loc = Env.createStorageLocation(*S); in VisitBinaryOperator() local
176 auto &Loc = Env.createStorageLocation(*S); in VisitBinaryOperator() local
183 if (auto *Loc = Env.getStorageLocation(*RHS, SkipPast::None)) in VisitBinaryOperator() local
204 auto &Loc = Env.createStorageLocation(*S); in VisitDeclRefExpr() local
228 auto &Loc = *MaybeLoc; in VisitDeclStmt() local
284 if (auto *Loc = Env.getStorageLocation(*ME, SkipPast::Reference)) in VisitDeclStmt() local
309 auto &Loc = Env.createStorageLocation(*S); in VisitImplicitCastExpr() local
358 auto &Loc = Env.createStorageLocation(S->getType()); in VisitImplicitCastExpr() local
383 auto &Loc = Env.createStorageLocation(*S); in VisitUnaryOperator() local
[all …]
H A DDataflowEnvironment.cpp210 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
580 void Environment::setStorageLocation(const ValueDecl &D, StorageLocation &Loc) { in setStorageLocation()
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
[all …]
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DDeclSpec.cpp626 bool DeclSpec::SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc, in SetStorageClassSpec()
688 bool DeclSpec::SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc, in SetStorageClassSpecThread()
702 bool DeclSpec::SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc, in SetTypeSpecWidth()
719 bool DeclSpec::SetTypeSpecComplex(TSC C, SourceLocation Loc, in SetTypeSpecComplex()
729 bool DeclSpec::SetTypeSpecSign(TypeSpecifierSign S, SourceLocation Loc, in SetTypeSpecSign()
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()
823 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, in SetTypeSpecType()
832 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType()
[all …]
H A DSemaCoroutine.cpp33 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()
251 ExprResult Sema::BuildOperatorCoawaitCall(SourceLocation Loc, Expr *E, in BuildOperatorCoawaitCall()
259 SourceLocation Loc, Expr *E) { in buildOperatorCoawaitCall()
268 SourceLocation Loc) { in buildCoroutineHandle()
301 static ExprResult buildMemberCall(Sema &S, Expr *Base, SourceLocation Loc, in buildMemberCall()
331 SourceLocation Loc) { in maybeTailCall()
377 SourceLocation Loc, Expr *E) { in buildCoawaitCalls()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DModRef.h81 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-src/gnu/llvm/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp86 void DiagnosticRenderer::emitDiagnostic(FullSourceLoc Loc, in emitDiagnostic()
164 void DiagnosticRenderer::emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc, in emitIncludeStack()
189 void DiagnosticRenderer::emitIncludeStackRecursively(FullSourceLoc Loc) { in emitIncludeStackRecursively()
218 void DiagnosticRenderer::emitImportStack(FullSourceLoc Loc) { in emitImportStack()
230 void DiagnosticRenderer::emitImportStackRecursively(FullSourceLoc Loc, in emitImportStackRecursively()
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()
[all …]
H A DPrintPreprocessedOutput.cpp201 bool MoveToLine(SourceLocation Loc, bool RequireStartOfLine) { in MoveToLine()
324 void PrintPPOutputPPCallbacks::FileChanged(SourceLocation Loc, in FileChanged()
454 void PrintPPOutputPPCallbacks::Ident(SourceLocation Loc, StringRef S) { in Ident()
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()
[all …]
H A DSARIFDiagnostic.cpp40 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-src/gnu/llvm/clang/include/clang/Sema/
H A DTemplateDeduction.h48 SourceLocation Loc; variable
66 : Loc(Loc), DeducedDepth(DeducedDepth) {} in Loc() argument
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-src/gnu/llvm/clang/lib/ExtractAPI/
H A DExtractAPIVisitor.cpp77 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 DAPI.cpp48 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()
158 PresumedLoc Loc, AvailabilitySet Availabilities, const DocComment &Comment, in addObjCMethod()
180 PresumedLoc Loc, AvailabilitySet Availabilities, const DocComment &Comment, in addObjCProperty()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/
H A DCOFFMasmParser.cpp242 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 DCOFFAsmParser.cpp310 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-src/gnu/llvm/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h102 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 DConsumed.h70 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-src/gnu/llvm/llvm/tools/llvm-mca/
H A DCodeRegion.cpp28 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-src/gnu/llvm/clang/lib/AST/Interp/
H A DState.cpp20 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 DInterp.cpp106 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-src/gnu/llvm/llvm/lib/Analysis/
H A DAliasAnalysis.cpp149 ModRefInfo AAResults::getModRefInfoMask(const MemoryLocation &Loc, in getModRefInfoMask()
155 ModRefInfo AAResults::getModRefInfoMask(const MemoryLocation &Loc, in getModRefInfoMask()
212 const MemoryLocation &Loc, in getModRefInfo()
445 for (MemoryEffects::Location Loc : MemoryEffects::locations()) { in operator <<() local
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()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDiagnosticInfo.h326 const DiagnosticLocation &Loc) in DiagnosticInfoWithLocationBase()
353 DiagnosticLocation Loc; variable
430 DiagnosticLocation Loc; member
460 const DiagnosticLocation &Loc) in DiagnosticInfoOptimizationBase()
640 Loc), in DiagnosticInfoOptimizationBase() argument
671 const DiagnosticLocation &Loc, const Twine &Msg) in DiagnosticInfoIROptimization()
728 const DiagnosticLocation &Loc, const Twine &Msg) in OptimizationRemark()
774 const DiagnosticLocation &Loc, const Twine &Msg) in OptimizationRemarkMissed()
826 const Function &Fn, const DiagnosticLocation &Loc, in OptimizationRemarkAnalysis()
846 const DiagnosticLocation &Loc, const Twine &Msg) in OptimizationRemarkAnalysis()
[all …]

12345678910>>...23