| /llvm-project-15.0.7/clang/lib/Edit/ |
| H A D | EditedSource.cpp | 458 SourceLocation BLoc = SourceMgr.getLocForStartOfFile(BeginOffs.getFID()); in getSourceText() local 459 BLoc = BLoc.getLocWithOffset(BeginOffs.getOffset()); in getSourceText() 460 assert(BLoc.isFileID()); in getSourceText() 462 ELoc = BLoc.getLocWithOffset(EndOffs.getOffset() - BeginOffs.getOffset()); in getSourceText() 463 return Lexer::getSourceText(CharSourceRange::getCharRange(BLoc, ELoc), in getSourceText()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | AliasAnalysisTest.cpp | 288 MemoryLocation BLoc(B, LocationSize::precise(1)); in TEST_F() local 293 EXPECT_EQ(AliasResult::MayAlias, AA.alias(ALoc, BLoc)); in TEST_F() 297 EXPECT_EQ(AliasResult::MayAlias, BatchAA.alias(ALoc, BLoc)); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | DarwinAsmParser.cpp | 711 SMLoc BLoc = SMLoc::getFromPointer(SectionVal.data() + B); in parseDirectiveSection() local 714 SMRange(BLoc, ELoc)); in parseDirectiveSection() 716 "\"", SMRange(BLoc, ELoc)); in parseDirectiveSection()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 696 const SourceLocation BLoc = FixIt.RemoveRange.getBegin(); in ProcessCodeCompleteResults() local 700 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(BLoc); in ProcessCodeCompleteResults()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 1330 SourceLocation BLoc = I->RemoveRange.getBegin(); in emitParseableFixits() local 1333 std::pair<FileID, unsigned> BInfo = SM.getDecomposedLoc(BLoc); in emitParseableFixits() 1342 PresumedLoc PLoc = SM.getPresumedLoc(BLoc); in emitParseableFixits()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Expr.h | 4409 SourceLocation BLoc, SourceLocation RP); 4530 ChooseExpr(SourceLocation BLoc, Expr *cond, Expr *lhs, Expr *rhs, QualType t, in ChooseExpr() argument 4533 : Expr(ChooseExprClass, t, VK, OK), BuiltinLoc(BLoc), RParenLoc(RP), in ChooseExpr() 4638 VAArgExpr(SourceLocation BLoc, Expr *e, TypeSourceInfo *TInfo, in VAArgExpr() argument 4641 TInfo(TInfo, IsMS), BuiltinLoc(BLoc), RParenLoc(RPLoc) { in VAArgExpr() 4690 SourceLocation BLoc, SourceLocation RParenLoc, 6256 AtomicExpr(SourceLocation BLoc, ArrayRef<Expr*> args, QualType t,
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Expr.cpp | 2146 QualType ResultTy, SourceLocation BLoc, in SourceLocExpr() argument 2150 BuiltinLoc(BLoc), RParenLoc(RParenLoc), ParentContext(ParentContext) { in SourceLocExpr() 4197 QualType Type, SourceLocation BLoc, in ShuffleVectorExpr() argument 4200 BuiltinLoc(BLoc), RParenLoc(RP), NumExprs(args.size()) { in ShuffleVectorExpr() 4706 AtomicExpr::AtomicExpr(SourceLocation BLoc, ArrayRef<Expr *> args, QualType t, in AtomicExpr() argument 4709 NumSubExprs(args.size()), BuiltinLoc(BLoc), RParenLoc(RP), Op(op) { in AtomicExpr()
|
| H A D | ASTImporter.cpp | 6772 auto BLoc = importChecked(Err, E->getBeginLoc()); in VisitSourceLocExpr() local 6781 SourceLocExpr(Importer.getToContext(), E->getIdentKind(), ToType, BLoc, in VisitSourceLocExpr()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 9394 CXSourceLocation BLoc = clang_getRangeStart(range); in operator <<() local 9399 clang_getFileLocation(BLoc, &BFile, &BLine, &BColumn, nullptr); in operator <<()
|