Home
last modified time | relevance | path

Searched refs:endLoc (Results 1 – 22 of 22) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp525 return L->endLoc() < R->endLoc(); in completeRegionsUntil()
532 assert((!Loc || CompletedRegion->endLoc() <= *Loc) && in completeRegionsUntil()
536 auto CompletedSegmentLoc = PrevCompletedRegion->endLoc(); in completeRegionsUntil()
544 if (CompletedSegmentLoc == CompletedRegion->endLoc()) in completeRegionsUntil()
549 if (CompletedRegion->endLoc() == ActiveRegions[J]->endLoc()) in completeRegionsUntil()
556 if (FirstCompletedRegion && Last->endLoc() != *Loc) { in completeRegionsUntil()
559 startSegment(*ActiveRegions[FirstCompletedRegion - 1], Last->endLoc(), in completeRegionsUntil()
561 } else if (!FirstCompletedRegion && (!Loc || *Loc != Last->endLoc())) { in completeRegionsUntil()
564 startSegment(*Last, Last->endLoc(), false, true); in completeRegionsUntil()
579 return !(Region->endLoc() <= CurStartLoc); in buildSegmentsImpl()
[all …]
H A DCoverageMappingWriter.cpp157 return CMR.startLoc() <= CMR.endLoc(); in write()
H A DCoverageMappingReader.cpp343 if (CMR.startLoc() > CMR.endLoc()) in readMappingRegionsSubArray()
/openbsd-src/gnu/llvm/llvm/tools/llvm-mca/
H A DCodeRegion.cpp44 !Regions[0]->endLoc().isValid()) { in beginRegion()
90 !Regions[0]->startLoc().isValid() && !Regions[0]->endLoc().isValid()) { in endRegion()
H A DPipelinePrinter.cpp121 if (Region.startLoc().isValid() || Region.endLoc().isValid()) in printReport()
H A DCodeRegion.h99 llvm::SMLoc endLoc() const { return RangeEnd; } in endLoc() function
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransformActions.cpp68 SourceLocation beginLoc = range.getBegin(), endLoc = range.getEnd(); in CharRange() local
69 assert(beginLoc.isValid() && endLoc.isValid()); in CharRange()
72 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange()
75 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); in CharRange()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXLoadedDiagnostic.cpp303 CXSourceLocation endLoc = makeLocation(End); in readRange() local
304 SR = clang_getRange(startLoc, endLoc); in readRange()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclObjC.cpp824 SourceLocation beginLoc, SourceLocation endLoc, Selector SelInfo, in ObjCMethodDecl() argument
831 DeclEndLoc(endLoc) { in ObjCMethodDecl()
854 ASTContext &C, SourceLocation beginLoc, SourceLocation endLoc, in Create() argument
861 beginLoc, endLoc, SelInfo, T, ReturnTInfo, contextDecl, isInstance, in Create()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DPPDirectives.cpp491 SourceLocation endLoc; in SkipExcludedConditionalBlock() local
658 endLoc = CheckEndOfDirective("endif"); in SkipExcludedConditionalBlock()
689 endLoc = CheckEndOfDirective("else"); in SkipExcludedConditionalBlock()
833 SourceRange(HashTokenLoc, endLoc.isValid() in SkipExcludedConditionalBlock()
834 ? endLoc in SkipExcludedConditionalBlock()
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1665 SourceLocation endLoc = S->getSynchBody()->getBeginLoc(); in RewriteObjCSynchronizedStmt() local
1666 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCSynchronizedStmt()
1919 SourceLocation endLoc = body->getEndLoc(); in RewriteObjCTryStmt() local
1922 assert(*SM->getCharacterData(endLoc) == '}' && in RewriteObjCTryStmt()
1927 endLoc = endLoc.getLocWithOffset(-1); in RewriteObjCTryStmt()
1928 InsertText(endLoc, " if (_rethrow) objc_exception_throw(_rethrow);\n"); in RewriteObjCTryStmt()
4633 SourceLocation endLoc = MessExpr->getEndLoc(); in RewriteFunctionBodyOrGlobalInitializer()
4636 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
H A DRewriteModernObjC.cpp2059 SourceLocation endLoc = S->getEndLoc(); in RewriteObjCThrowStmt() local
2060 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCThrowStmt()
5523 SourceLocation endLoc = MessExpr->getEndLoc(); in RewriteFunctionBodyOrGlobalInitializer()
5526 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp156 SystemZOperand(OperandKind kind, SMLoc startLoc, SMLoc endLoc) in SystemZOperand() argument
157 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {} in SystemZOperand()
/openbsd-src/gnu/llvm/clang/include/clang/Parse/
H A DParser.h1701 SourceLocation &endLoc);
2947 SourceLocation *endLoc,
3004 SourceLocation *endLoc = nullptr);
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclObjC.h171 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc,
232 Create(ASTContext &C, SourceLocation beginLoc, SourceLocation endLoc,
H A DStmt.h1316 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, SourceLocation endLoc) in DeclStmt() argument
1317 : Stmt(DeclStmtClass), DG(dg), StartLoc(startLoc), EndLoc(endLoc) {} in DeclStmt()
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h303 inline LineColPair endLoc() const { return LineColPair(LineEnd, ColumnEnd); } in endLoc() function
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseObjc.cpp1869 SourceLocation &endLoc) { in parseObjCTypeArgsAndProtocolQualifiers() argument
1890 endLoc = PrevTokLocation; in parseObjCTypeArgsAndProtocolQualifiers()
1892 endLoc = Tok.getLocation(); in parseObjCTypeArgsAndProtocolQualifiers()
H A DParseDecl.cpp1100 SourceLocation *endLoc, in ParseAvailabilityAttribute() argument
1285 if (endLoc) in ParseAvailabilityAttribute()
1286 *endLoc = T.getCloseLocation(); in ParseAvailabilityAttribute()
/openbsd-src/gnu/llvm/clang/tools/c-index-test/
H A Dc-index-test.c4179 CXSourceLocation startLoc, endLoc; in perform_token_annotation() local
4251 endLoc = clang_getLocation(TU, file, second_line, second_column); in perform_token_annotation()
4252 if (clang_equalLocations(clang_getNullLocation(), endLoc)) { in perform_token_annotation()
4259 range = clang_getRange(startLoc, endLoc); in perform_token_annotation()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaObjCProperty.cpp1160 SourceLocation endLoc = in ActOnPropertyImplDecl() local
1162 SourceRange ReadonlySourceRange(readonlyLoc, endLoc); in ActOnPropertyImplDecl()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp4852 SMLoc endLoc; in parseSEHRegisterNumber() local
4853 if (parseRegister(RegNo, startLoc, endLoc)) in parseSEHRegisterNumber()