Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DNarrowingConversionsCheck.cpp321 diag(SourceLoc, "narrowing conversion from %0 to %1") in diagNarrowType()
335 diag(SourceLoc, in diagNarrowIntegerConstant()
371 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant()
372 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant()
408 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast()
438 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating()
448 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral()
451 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral()
496 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast()
501 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast()
[all …]
H A DNarrowingConversionsCheck.h34 void diagNarrowType(SourceLocation SourceLoc, const Expr &Lhs,
37 void diagNarrowTypeToSignedInt(SourceLocation SourceLoc, const Expr &Lhs,
40 void diagNarrowIntegerConstant(SourceLocation SourceLoc, const Expr &Lhs,
43 void diagNarrowIntegerConstantToSignedInt(SourceLocation SourceLoc,
48 void diagNarrowConstant(SourceLocation SourceLoc, const Expr &Lhs,
51 void diagConstantCast(SourceLocation SourceLoc, const Expr &Lhs,
55 SourceLocation SourceLoc, const Expr &Lhs,
62 SourceLocation SourceLoc, const Expr &Lhs,
66 SourceLocation SourceLoc, const Expr &Lhs,
70 SourceLocation SourceLoc, const Expr &Lhs,
[all …]
/llvm-project-15.0.7/lldb/source/Breakpoint/
H A DBreakpointResolver.cpp180 struct SourceLoc { struct
183 SourceLoc(uint32_t l, llvm::Optional<uint16_t> c) in SourceLoc() argument
185 SourceLoc(const SymbolContext &sc) in SourceLoc() function
191 bool operator<(const SourceLoc lhs, const SourceLoc rhs) { in operator <()
232 SourceLoc requested(line, *column); in SetSCMatchesByLine()
236 [&](const SymbolContext &sc) { return requested < SourceLoc(sc); }); in SetSCMatchesByLine()
240 return SourceLoc(a) < SourceLoc(b); in SetSCMatchesByLine()
247 return SourceLoc(*worklist_begin) < SourceLoc(sc); in SetSCMatchesByLine()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DAvoidThrowingObjCExceptionCheck.cpp37 auto SourceLoc = MatchedStmt == nullptr ? MatchedExpr->getSelectorStartLoc() in check() local
39 diag(SourceLoc, in check()
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_diag.h61 SourceLocation SourceLoc; variable
68 Kind(LK_Source), SourceLoc(Loc) {} in Location()
83 return SourceLoc; in getSourceLocation()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExceptionSpec.cpp873 SourceLocation SourceLoc) { in CheckSpecForTypesEquivalent() argument
882 SFunc, SourceLoc); in CheckSpecForTypesEquivalent()
895 SourceLocation SourceLoc) { in CheckParamExceptionSpec() argument
901 SourceLoc)) in CheckParamExceptionSpec()
914 SourceLoc)) in CheckParamExceptionSpec()
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp809 auto SourceLoc = MacroNameToken.getLocation(); in MacroDefined() local
810 if (SM.isWrittenInBuiltinFile(SourceLoc) || in MacroDefined()
811 SM.isWrittenInCommandLineFile(SourceLoc)) in MacroDefined()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLiteralSupport.cpp2176 FullSourceLoc SourceLoc(Tok.getLocation(), SM); in CopyStringFragment() local
2178 Diag(Diags, Features, SourceLoc, TokBegin, in CopyStringFragment()
2194 Builder << MakeCharSourceRange(Features, SourceLoc, TokBegin, in CopyStringFragment()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp2454 DebugLoc SourceLoc = I->getDebugLoc(); in emitUnsafeDependenceRemark() local
2456 SourceLoc = DD->getDebugLoc(); in emitUnsafeDependenceRemark()
2457 if (SourceLoc) in emitUnsafeDependenceRemark()
2459 << ore::NV("Location", SourceLoc); in emitUnsafeDependenceRemark()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h2126 SourceLocation SourceLoc);