Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp465 return L->endLoc() < R->endLoc(); in completeRegionsUntil()
472 assert((!Loc || CompletedRegion->endLoc() <= *Loc) && in completeRegionsUntil()
476 auto CompletedSegmentLoc = PrevCompletedRegion->endLoc(); in completeRegionsUntil()
484 if (CompletedSegmentLoc == CompletedRegion->endLoc()) in completeRegionsUntil()
489 if (CompletedRegion->endLoc() == ActiveRegions[J]->endLoc()) in completeRegionsUntil()
496 if (FirstCompletedRegion && Last->endLoc() != *Loc) { in completeRegionsUntil()
499 startSegment(*ActiveRegions[FirstCompletedRegion - 1], Last->endLoc(), in completeRegionsUntil()
501 } else if (!FirstCompletedRegion && (!Loc || *Loc != Last->endLoc())) { in completeRegionsUntil()
504 startSegment(*Last, Last->endLoc(), false, true); in completeRegionsUntil()
519 return !(Region->endLoc() <= CurStartLoc); in buildSegmentsImpl()
[all …]
H A DCoverageMappingWriter.cpp159 return CMR.startLoc() <= CMR.endLoc(); in write()
H A DCoverageMappingReader.cpp342 if (CMR.startLoc() > CMR.endLoc()) in readMappingRegionsSubArray()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mca/
H A DCodeRegion.cpp37 !Regions[0]->endLoc().isValid()) { in beginRegion()
83 !Regions[0]->startLoc().isValid() && !Regions[0]->endLoc().isValid()) { in endRegion()
H A DCodeRegion.h73 llvm::SMLoc endLoc() const { return RangeEnd; } in endLoc() function
H A Dllvm-mca.cpp490 if (Region->startLoc().isValid() || Region->endLoc().isValid()) { in main()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h1664 SourceLocation &endLoc);
2705 SourceLocation endLoc; variable
2706 ParseGNUAttributes(attrs, &endLoc, LateAttrs, &D);
2707 D.takeAttributes(attrs, endLoc);
2772 SourceLocation endLoc; in MaybeParseCXX11Attributes() local
2773 ParseCXX11Attributes(attrs, &endLoc); in MaybeParseCXX11Attributes()
2774 D.takeAttributes(attrs, endLoc); in MaybeParseCXX11Attributes()
2778 SourceLocation *endLoc = nullptr) {
2781 ParseCXX11Attributes(attrsWithRange, endLoc);
2788 SourceLocation *endLoc = nullptr,
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXLoadedDiagnostic.cpp303 CXSourceLocation endLoc = makeLocation(End); in readRange() local
304 SR = clang_getRange(startLoc, endLoc); in readRange()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDeclCXX.cpp4180 SourceLocation *endLoc) { in ParseCXX11AttributeSpecifier() argument
4183 ParseAlignmentSpecifier(attrs, endLoc); in ParseCXX11AttributeSpecifier()
4265 AttrParsed = ParseCXX11AttributeArgs(AttrName, AttrLoc, attrs, endLoc, in ParseCXX11AttributeSpecifier()
4294 if (endLoc) in ParseCXX11AttributeSpecifier()
4295 *endLoc = Tok.getLocation(); in ParseCXX11AttributeSpecifier()
4305 SourceLocation *endLoc) { in ParseCXX11Attributes() argument
4309 if (!endLoc) in ParseCXX11Attributes()
4310 endLoc = &Loc; in ParseCXX11Attributes()
4313 ParseCXX11AttributeSpecifier(attrs, endLoc); in ParseCXX11Attributes()
4316 attrs.Range = SourceRange(StartLoc, *endLoc); in ParseCXX11Attributes()
[all …]
H A DParseCXXInlineMethods.cpp708 SourceLocation endLoc; in ParseLexedAttribute() local
731 ParseGNUAttributeArgs(&LA.AttrName, LA.AttrNameLoc, Attrs, &endLoc, in ParseLexedAttribute()
740 ParseGNUAttributeArgs(&LA.AttrName, LA.AttrNameLoc, Attrs, &endLoc, in ParseLexedAttribute()
H A DParseDecl.cpp1028 SourceLocation *endLoc, in ParseAvailabilityAttribute() argument
1213 if (endLoc) in ParseAvailabilityAttribute()
1214 *endLoc = T.getCloseLocation(); in ParseAvailabilityAttribute()
1374 SourceLocation *endLoc, in ParseObjCBridgeRelatedAttribute() argument
1433 if (endLoc) in ParseObjCBridgeRelatedAttribute()
1434 *endLoc = T.getCloseLocation(); in ParseObjCBridgeRelatedAttribute()
H A DParseObjc.cpp1829 SourceLocation &endLoc) { in parseObjCTypeArgsAndProtocolQualifiers() argument
1850 endLoc = PrevTokLocation; in parseObjCTypeArgsAndProtocolQualifiers()
1852 endLoc = Tok.getLocation(); in parseObjCTypeArgsAndProtocolQualifiers()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPDirectives.cpp459 SourceLocation endLoc; in SkipExcludedConditionalBlock() local
566 endLoc = CheckEndOfDirective("endif"); in SkipExcludedConditionalBlock()
593 endLoc = CheckEndOfDirective("else"); in SkipExcludedConditionalBlock()
652 SourceRange(HashTokenLoc, endLoc.isValid() in SkipExcludedConditionalBlock()
653 ? endLoc in SkipExcludedConditionalBlock()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp781 SourceLocation beginLoc, SourceLocation endLoc, Selector SelInfo, in ObjCMethodDecl() argument
788 DeclEndLoc(endLoc) { in ObjCMethodDecl()
811 ASTContext &C, SourceLocation beginLoc, SourceLocation endLoc, in Create() argument
818 beginLoc, endLoc, SelInfo, T, ReturnTInfo, contextDecl, isInstance, in Create()
/netbsd-src/external/apache2/llvm/dist/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()
4645 SourceLocation endLoc = MessExpr->getEndLoc(); in RewriteFunctionBodyOrGlobalInitializer()
4648 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
H A DRewriteModernObjC.cpp2058 SourceLocation endLoc = S->getEndLoc(); in RewriteObjCThrowStmt() local
2059 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCThrowStmt()
5534 SourceLocation endLoc = MessExpr->getEndLoc(); in RewriteFunctionBodyOrGlobalInitializer()
5537 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp152 SystemZOperand(OperandKind kind, SMLoc startLoc, SMLoc endLoc) in SystemZOperand() argument
153 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {} in SystemZOperand()
/netbsd-src/external/apache2/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c4154 CXSourceLocation startLoc, endLoc; in perform_token_annotation() local
4226 endLoc = clang_getLocation(TU, file, second_line, second_column); in perform_token_annotation()
4227 if (clang_equalLocations(clang_getNullLocation(), endLoc)) { in perform_token_annotation()
4234 range = clang_getRange(startLoc, endLoc); in perform_token_annotation()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h172 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc,
233 Create(ASTContext &C, SourceLocation beginLoc, SourceLocation endLoc,
H A DStmt.h1296 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, SourceLocation endLoc) in DeclStmt() argument
1297 : Stmt(DeclStmtClass), DG(dg), StartLoc(startLoc), EndLoc(endLoc) {} in DeclStmt()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h299 inline LineColPair endLoc() const { return LineColPair(LineEnd, ColumnEnd); } in endLoc() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaObjCProperty.cpp1160 SourceLocation endLoc = in ActOnPropertyImplDecl() local
1162 SourceRange ReadonlySourceRange(readonlyLoc, endLoc); in ActOnPropertyImplDecl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp4850 SMLoc endLoc; in parseSEHRegisterNumber() local
4851 if (ParseRegister(RegNo, startLoc, endLoc)) in parseSEHRegisterNumber()