Home
last modified time | relevance | path

Searched refs:SourceLoc (Results 1 – 10 of 10) sorted by relevance

/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DNarrowingConversionsCheck.cpp
H A DNarrowingConversionsCheck.h
/llvm-project/clang-tools-extra/clang-tidy/google/
H A DAvoidThrowingObjCExceptionCheck.cpp34 auto SourceLoc = MatchedStmt == nullptr ? MatchedExpr->getSelectorStartLoc() in check() local
38 if (SourceLoc.isInvalid()) in check()
43 if (SourceLoc.isMacroID()) { in check()
45 auto MacroLoc = SM.getImmediateMacroCallerLoc(SourceLoc); in check()
52 diag(SourceLoc, in check()
/llvm-project/lldb/source/Breakpoint/
H A DBreakpointResolver.cpp185 struct SourceLoc { in SourceLoc()
188 SourceLoc(uint32_t l, std::optional<uint16_t> c) in SourceLoc()
190 SourceLoc(const SymbolContext &sc)
196 bool operator<(const SourceLoc lhs, const SourceLoc rhs) { in operator <()
246 SourceLoc requested(line, *column); in SetSCMatchesByLine()
250 [&](const SymbolContext &sc) { return requested < SourceLoc(sc); }); in SetSCMatchesByLine()
254 return SourceLoc(a) < SourceLoc(b); in SetSCMatchesByLine()
261 return SourceLoc(*worklist_begi in SetSCMatchesByLine()
181 struct SourceLoc { global() struct
182 line__anon4bc1177f0111::SourceLoc global() argument
183 column__anon4bc1177f0111::SourceLoc global() argument
184 SourceLoc__anon4bc1177f0111::SourceLoc SourceLoc() argument
186 SourceLoc__anon4bc1177f0111::SourceLoc SourceLoc() argument
[all...]
/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.h41 SourceLocation SourceLoc; variable
48 Kind(LK_Source), SourceLoc(Loc) {} in Location()
63 return SourceLoc; in getSourceLocation()
/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp296 auto SourceLoc = MacroNameToken.getLocation(); MacroDefined() local
/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp864 SourceLocation SourceLoc) { in CheckSpecForTypesEquivalent()
873 SFunc, SourceLoc); in CheckSpecForTypesEquivalent()
880 bool SkipSourceFirstParameter, SourceLocation SourceLoc) { in CheckParamExceptionSpec()
886 SourceLoc)) in CheckParamExceptionSpec()
901 SourceLoc)) in CheckParamExceptionSpec()
865 CheckSpecForTypesEquivalent(Sema & S,const PartialDiagnostic & DiagID,const PartialDiagnostic & NoteID,QualType Target,SourceLocation TargetLoc,QualType Source,SourceLocation SourceLoc) CheckSpecForTypesEquivalent() argument
881 CheckParamExceptionSpec(const PartialDiagnostic & DiagID,const PartialDiagnostic & NoteID,const FunctionProtoType * Target,bool SkipTargetFirstParameter,SourceLocation TargetLoc,const FunctionProtoType * Source,bool SkipSourceFirstParameter,SourceLocation SourceLoc) CheckParamExceptionSpec() argument
/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp2316 FullSourceLoc SourceLoc(Tok.getLocation(), SM); in CopyStringFragment()
2318 Diag(Diags, Features, SourceLoc, TokBegin, in CopyStringFragment()
2334 Builder << MakeCharSourceRange(Features, SourceLoc, TokBegin, in CopyStringFragment()
2314 FullSourceLoc SourceLoc(Tok.getLocation(), SM); CopyStringFragment() local
/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp2764 DebugLoc SourceLoc = I->getDebugLoc(); in emitUnsafeDependenceRemark()
2766 SourceLoc = DD->getDebugLoc(); in emitUnsafeDependenceRemark()
2767 if (SourceLoc) in emitUnsafeDependenceRemark()
2769 << ore::NV("Location", SourceLoc); in emitUnsafeDependenceRemark()
2763 DebugLoc SourceLoc = I->getDebugLoc(); emitUnsafeDependenceRemark() local
/llvm-project/clang/include/clang/Sema/
H A DSema.h6211 bool SkipSourceFirstParameter, SourceLocation SourceLoc);