Home
last modified time | relevance | path

Searched refs:getLocation (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParsePragma.cpp110 PP.Diag(Tok.getLocation(), diag::warn_pragma_fp_ignored) in HandlePragma()
122 Toks[0].setLocation(Tok.getLocation()); in HandlePragma()
123 Toks[0].setAnnotationEndLoc(Tok.getLocation()); in HandlePragma()
586 SourceLocation PragmaLoc = Tok.getLocation(); in HandlePragmaPack()
615 Actions.ActOnPragmaOptionsAlign(Kind, Tok.getLocation()); in HandlePragmaAlign()
625 Actions.ActOnPragmaDump(getCurScope(), Tok.getLocation(), II); in HandlePragmaDump()
633 Tok.getLocation()); in HandlePragmaWeak()
641 SourceLocation WeakNameLoc = Tok.getLocation(); in HandlePragmaWeakAlias()
644 SourceLocation AliasNameLoc = Tok.getLocation(); in HandlePragmaWeakAlias()
655 SourceLocation RedefNameLoc = Tok.getLocation(); in HandlePragmaRedefineExtname()
[all …]
H A DParseTemplate.cpp121 Diag(Tok.getLocation(), diag::err_expected_template); in ParseTemplateDeclarationOrSpecialization()
194 Diag(Tok.getLocation(), diag::err_templated_invalid_declaration) in ParseSingleDeclarationAfterTemplate()
366 Diag(Tok.getLocation(), diag::ext_concept_legacy_bool_keyword) << in ParseConceptDefinition()
409 Diag(Tok.getLocation(), diag::err_expected) << tok::equal; in ParseConceptDefinition()
421 DeclEnd = Tok.getLocation(); in ParseConceptDefinition()
444 Diag(Tok.getLocation(), diag::err_expected_less_after) << "template"; in ParseTemplateParameters()
463 RAngleLoc = Tok.getLocation(); in ParseTemplateParameters()
464 Tok.setLocation(Tok.getLocation().getLocWithOffset(1)); in ParseTemplateParameters()
466 Diag(Tok.getLocation(), diag::err_expected) << tok::greater; in ParseTemplateParameters()
505 Diag(Tok.getLocation(), diag::err_expected_comma_greater); in ParseTemplateParameterList()
[all …]
H A DParseOpenMP.cpp253 P.Diag(Tok.getLocation(), diag::err_omp_expected_reduction_identifier); in parseOpenMPReductionId()
298 Diag(Tok.getLocation(), diag::err_expected_type); in ParseOpenMPDeclareReductionDirective()
330 Diag(Tok.getLocation(), diag::err_expected_type); in ParseOpenMPDeclareReductionDirective()
349 Diag(Tok.getLocation(), diag::err_expected_expression); in ParseOpenMPDeclareReductionDirective()
367 ParseExpression().get(), D->getLocation(), /*DiscardedValue*/ false); in ParseOpenMPDeclareReductionDirective()
384 Diag(Tok.getLocation(), diag::err_expected) << "'initializer'"; in ParseOpenMPDeclareReductionDirective()
410 ParseAssignmentExpression().get(), D->getLocation(), in ParseOpenMPDeclareReductionDirective()
451 PreferredType.enterVariableInit(Tok.getLocation(), OmpPrivParm); in ParseOpenMPReductionInitializerForDecl()
473 OmpPrivParm->getLocation(), Exprs, LParLoc); in ParseOpenMPReductionInitializerForDecl()
478 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseOpenMPReductionInitializerForDecl()
[all …]
H A DParseExprCXX.cpp47 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation()); in areTokensAdjacent()
49 return FirstEnd == SM.getSpellingLoc(Second.getLocation()); in areTokensAdjacent()
61 Range.setBegin(DigraphToken.getLocation()); in FixDigraph()
62 Range.setEnd(ColonToken.getLocation()); in FixDigraph()
63 P.Diag(DigraphToken.getLocation(), diag::err_missing_whitespace_digraph) in FixDigraph()
69 ColonToken.setLocation(ColonToken.getLocation().getLocWithOffset(-1)); in FixDigraph()
94 TemplateName.setIdentifier(&II, Tok.getLocation()); in CheckForTemplateAndDigraph()
205 Diag(Tok.getLocation(), diag::err_expected_coloncolon_after_super); in ParseOptionalCXXScopeSpecifier()
215 SourceLocation DeclLoc = Tok.getLocation(); in ParseOptionalCXXScopeSpecifier()
248 SS.setEndLoc(Tok.getLocation()); in ParseOptionalCXXScopeSpecifier()
[all …]
H A DParseExpr.cpp164 PreferredType.get(Tok.getLocation())); in ParseAssignmentExpression()
466 SourceLocation BraceLoc = Tok.getLocation(); in ParseRHSOfBinaryExpression()
501 SourceLocation FILoc = Tok.getLocation(); in ParseRHSOfBinaryExpression()
522 ColonLoc = Tok.getLocation(); in ParseRHSOfBinaryExpression()
526 PreferredType.enterBinary(Actions, Tok.getLocation(), LHS.get(), in ParseRHSOfBinaryExpression()
623 SuggestParentheses(OpToken.getLocation(), in ParseRHSOfBinaryExpression()
629 Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), in ParseRHSOfBinaryExpression()
639 OpToken.getLocation(), ColonLoc, LHS.get(), TernaryMiddle.get(), in ParseRHSOfBinaryExpression()
1281 Res = Actions.ActOnPredefinedExpr(Tok.getLocation(), SavedKind); in ParseCastExpression()
1295 Res = ParseAvailabilityCheckExpr(Tok.getLocation()); in ParseCastExpression()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DCommentParser.cpp64 Pos.BufferStartLoc = Tok.getLocation(); in setupBuffer()
271 Arg.getLocation(), in parseParamCommandArgs()
277 Arg.getLocation(), in parseParamCommandArgs()
287 Arg.getLocation(), in parseTParamCommandArgs()
301 Args[ParsedArgs] = Argument(SourceRange(Arg.getLocation(), in parseBlockCommandArgs()
320 PC = S.actOnParamCommandStart(Tok.getLocation(), in parseBlockCommand()
325 TPC = S.actOnTParamCommandStart(Tok.getLocation(), in parseBlockCommand()
330 BC = S.actOnBlockCommandStart(Tok.getLocation(), in parseBlockCommand()
415 IC = S.actOnInlineCommand(CommandTok.getLocation(), in parseInlineCommand()
418 ArgTok.getLocation(), in parseInlineCommand()
[all …]
H A DASTStructuralEquivalence.cpp1251 Owner2->getLocation(), in IsStructurallyEquivalent()
1254 Context.Diag2(Field2->getLocation(), diag::note_odr_field_name) in IsStructurallyEquivalent()
1256 Context.Diag1(Field1->getLocation(), diag::note_odr_field_name) in IsStructurallyEquivalent()
1266 Owner2->getLocation(), in IsStructurallyEquivalent()
1269 Context.Diag2(Field2->getLocation(), diag::note_odr_field) in IsStructurallyEquivalent()
1271 Context.Diag1(Field1->getLocation(), diag::note_odr_field) in IsStructurallyEquivalent()
1365 Context.Diag2(D2->getLocation(), Context.getApplicableDiagnostic( in IsStructurallyEquivalent()
1368 Context.Diag1(D1->getLocation(), diag::note_odr_tag_kind_here) in IsStructurallyEquivalent()
1450 Context.Diag2(D2->getLocation(), in IsStructurallyEquivalent()
1454 Context.Diag2(D2->getLocation(), diag::note_odr_number_of_bases) in IsStructurallyEquivalent()
[all …]
H A DCommentSema.cpp90 Diag(Command->getLocation(), in actOnParamCommandStart()
125 Diag(Comment->getLocation(), diag::warn_doc_function_method_decl_mismatch) in checkFunctionDeclVerbatimLine()
164 Diag(Comment->getLocation(), diag::warn_doc_api_container_decl_mismatch) in checkContainerDeclVerbatimLine()
214 Diag(Comment->getLocation(), diag::warn_doc_container_decl_mismatch) in checkContainerDecl()
293 Diag(Command->getLocation(), in actOnTParamCommandStart()
329 Diag(PrevCommand->getLocation(), diag::note_doc_tparam_previous) in actOnTParamCommandParamNameArg()
484 Diag(HET->getLocation(), diag::warn_doc_html_end_forbidden) in actOnHTMLEndTag()
500 Diag(HET->getLocation(), diag::warn_doc_html_end_unbalanced) in actOnHTMLEndTag()
521 HST->getLocation(), in actOnHTMLEndTag()
525 HET->getLocation(), in actOnHTMLEndTag()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXStoredDiagnostic.cpp40 CXSourceLocation CXStoredDiagnostic::getLocation() const { in getLocation() function in CXStoredDiagnostic
41 if (Diag.getLocation().isInvalid()) in getLocation()
44 return translateSourceLocation(Diag.getLocation().getManager(), in getLocation()
45 LangOpts, Diag.getLocation()); in getLocation()
80 if (Diag.getLocation().isInvalid()) in getNumRanges()
87 assert(Diag.getLocation().isValid()); in getRange()
88 return translateSourceRange(Diag.getLocation().getManager(), in getRange()
94 if (Diag.getLocation().isInvalid()) in getNumFixIts()
106 *ReplacementRange = translateSourceRange(Diag.getLocation().getManager(), in getFixIt()
H A DCXIndexDataConsumer.cpp169 ObjCID->getLocation() == Loc) { in handleDeclOccurrence()
177 ObjCPD->getLocation() == Loc) { in handleDeclOccurrence()
287 CXIdxLoc Loc = IdxCtx.getIndexLoc(A->getLocation()); in AttrListInfo()
498 getIndexLoc(ImportD->getLocation()), in importedModule()
620 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleFunction()
626 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleVar()
632 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleField()
638 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleEnumerator()
647 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleTagDecl()
653 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); in handleTypedefName()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaObjCProperty.cpp97 S.Diag(property->getLocation(), in checkPropertyDeclWithOwnership()
328 Loc = Tok.getLocation(); in LocPropertyAttribute()
398 S.Diag(NewProperty->getLocation(), diag::warn_property_attribute) in checkAtomicPropertyMismatch()
401 S.Diag(OldProperty->getLocation(), diag::note_property_declare); in checkAtomicPropertyMismatch()
428 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension()
444 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
466 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
476 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
492 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
506 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
[all …]
H A DSemaDeclObjC.cpp96 SourceLocation loc = method->getLocation(); in checkInitMethod()
117 S.Diag(NewD->getLocation(), diag::warn_overriding_method_missing_noescape); in diagnoseNoescape()
118 S.Diag(OldD->getLocation(), diag::note_overridden_marked_noescape); in diagnoseNoescape()
131 S.Diag(CD->getLocation(), diag::note_cat_conform_to_noescape_prot) in diagnoseNoescape()
162 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride()
168 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride()
175 Diag(Overridden->getLocation(), in CheckObjCMethodOverride()
180 Diag(Overridden->getLocation(), in CheckObjCMethodOverride()
186 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride()
191 Diag(Overridden->getLocation(), diag::note_previous_decl) << "method"; in CheckObjCMethodOverride()
[all …]
H A DSemaDecl.cpp439 if (!IIDecl || (*Res)->getLocation() < IIDecl->getLocation()) in getTypeName()
484 MarkAnyDeclReferenced(TD->getLocation(), TD, /*OdrUse=*/false); in getTypeName()
825 SemaRef.Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type) in isTagTypeWithMissingTag()
1131 MarkAnyDeclReferenced(Type->getLocation(), Type, /*OdrUse=*/false); in ClassifyName()
1594 Diag(New->getLocation(), diag::err_mismatched_owning_module) in CheckRedeclarationModuleOwnership()
1600 Diag(Old->getLocation(), diag::note_previous_declaration); in CheckRedeclarationModuleOwnership()
1701 if (FD->isInlined() && !isMainFileLoc(*this, FD->getLocation())) in ShouldWarnIfUnusedFileScopedDecl()
1712 if (!isMainFileLoc(*this, VD->getLocation())) in ShouldWarnIfUnusedFileScopedDecl()
1726 if (VD->isInline() && !isMainFileLoc(*this, VD->getLocation())) in ShouldWarnIfUnusedFileScopedDecl()
1906 Diag(D->getLocation(), DiagID) << D << Hint; in DiagnoseUnusedDecl()
[all …]
H A DSemaDeclCXX.cpp259 if (RequireCompleteType(Param->getLocation(), Param->getType(), in ConvertParamDefaultArgument()
271 InitializationKind Kind = InitializationKind::CreateCopy(Param->getLocation(), in ConvertParamDefaultArgument()
421 SR = SourceRange((*Toks)[1].getLocation(), in CheckExtraCXXDefaultArguments()
422 Toks->back().getLocation()); in CheckExtraCXXDefaultArguments()
425 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments()
428 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments()
550 Diag(NewParam->getLocation(), DiagDefaultParamID) in MergeCXXFunctionDecl()
561 Diag(OldParam->getLocation(), diag::note_previous_definition) in MergeCXXFunctionDecl()
584 Diag(NewParam->getLocation(), in MergeCXXFunctionDecl()
587 Diag(PrevForDefaultArgs->getLocation(), in MergeCXXFunctionDecl()
[all …]
H A DSemaTemplateInstantiateDecl.cpp95 TemplateArgs, Aligned->getLocation(), in instantiateDependentAlignedAttr()
123 SourceLocation EllipsisLoc = Aligned->getLocation(); in instantiateDependentAlignedAttr()
180 S.getASTContext().UnsignedLongLongTy, Align->getLocation()); in instantiateDependentAllocAlignAttr()
223 S.Diag(A->getLocation(), diag::err_attr_cond_never_constant_expr) << A; in instantiateDependentFunctionAttrCondition()
460 New->getLocation()); in instantiateOMPDeclareVariantAttr()
470 New->getLocation(), SubstFD, /* Recursive */ true, in instantiateOMPDeclareVariantAttr()
476 /* NameLoc */ SubstFD->getLocation(), in instantiateOMPDeclareVariantAttr()
763 (void)CheckCXXDefaultArgExpr(Attr->getLocation(), Ctor, in InstantiateDefaultCtorDefaultArgs()
818 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl()
850 D->getLocation(), D->getDeclName()); in InstantiateTypedefNameDecl()
[all …]
H A DSemaTemplate.cpp555 Diag(ExampleLookupResult->getUnderlyingDecl()->getLocation(), in LookupTemplateName()
602 Diag(Found.getRepresentativeDecl()->getLocation(), in LookupTemplateName()
605 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName()
707 Diag(Found->getLocation(), in diagnoseExprIntendedAsTemplateName()
716 Diag(Found->getLocation(), diag::note_non_template_in_template_id_found); in diagnoseExprIntendedAsTemplateName()
867 Diag(Pattern->getLocation(), Note.getValue()); in DiagnoseUninstantiableTemplate()
893 Diag(PrevDecl->getLocation(), diag::note_template_param_here); in DiagnoseTemplateParameterShadow()
926 DI = SemaRef.Context.getTrivialTypeSourceInfo(T, Arg.getLocation()); in translateTemplateArgument()
945 Arg.getLocation(), Arg.getEllipsisLoc()); in translateTemplateArgument()
1232 ParamAsArgument, ConstrainedParameter->getLocation(), in AttachTypeConstraint()
[all …]
H A DSemaCUDA.cpp385 Diag(ClassDecl->getLocation(), in inferCUDATargetForImplicitSpecialMember()
429 Diag(ClassDecl->getLocation(), in inferCUDATargetForImplicitSpecialMember()
563 isEmptyCudaConstructor(VD->getLocation(), CE->getConstructor()); in checkAllowedCUDAInitializer()
584 isEmptyCudaDestructor(VD->getLocation(), RD->getDestructor()); in checkAllowedCUDAInitializer()
587 Diag(VD->getLocation(), VD->hasAttr<CUDASharedAttr>() in checkAllowedCUDAInitializer()
605 Diag(VD->getLocation(), diag::err_ref_bad_target_global_initializer) in checkAllowedCUDAInitializer()
607 Diag(InitFn->getLocation(), diag::note_previous_decl) << InitFn; in checkAllowedCUDAInitializer()
661 if (!getSourceManager().isInSystemHeader(Match->getLocation())) { in maybeAddCUDAHostDeviceAttrs()
662 Diag(NewD->getLocation(), in maybeAddCUDAHostDeviceAttrs()
665 Diag(Match->getLocation(), in maybeAddCUDAHostDeviceAttrs()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPDirectives.cpp87 Res.setBegin(Tmp.getLocation()); in DiscardUntilEndOfDirective()
92 Res.setEnd(Tmp.getLocation()); in DiscardUntilEndOfDirective()
298 SourceLocation MacroNameLoc = MacroNameTok.getLocation(); in CheckMacroName()
379 return Tmp.getLocation(); in CheckEndOfDirective()
388 Hint = FixItHint::CreateInsertion(Tmp.getLocation(),"//"); in CheckEndOfDirective()
548 CurPPLexer->pushConditionalLevel(Tok.getLocation(), /*wasskipping*/true, in SkipExcludedConditionalBlock()
569 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
596 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
625 Tok.getLocation(), DER.ExprRange, in SkipExcludedConditionalBlock()
655 Tok.getLocation()); in SkipExcludedConditionalBlock()
[all …]
H A DPPMacroExpansion.cpp236 IsSystemMacro &= SourceMgr.isInSystemHeader(DMD->getLocation()); in updateModuleMacroInfo()
484 Callbacks->MacroExpands(Identifier, M, Identifier.getLocation(), in HandleMacroExpandedIdentifier()
497 SourceLocation ExpansionEnd = Identifier.getLocation(); in HandleMacroExpandedIdentifier()
525 SourceLocation ExpandLoc = Identifier.getLocation(); in HandleMacroExpandedIdentifier()
601 SourceMgr.createExpansionLoc(Identifier.getLocation(), ExpandLoc, in HandleMacroExpandedIdentifier()
715 SourceRange(ArgStartIterator->getLocation(), in GenerateNewArgTokens()
716 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens()
724 TempToken.setLocation(ArgStartIterator->getLocation()); in GenerateNewArgTokens()
734 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens()
740 ParenHints.push_back(SourceRange(ArgStartIterator->getLocation(), in GenerateNewArgTokens()
[all …]
H A DTokenLexer.cpp48 ExpandLocStart = Tok.getLocation(); in Init()
64 assert(Tokens[0].getLocation().isValid()); in Init()
65 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) && in Init()
73 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation()); in Init()
165 PP.Diag(ResultToks.back().getLocation(), diag::ext_paste_comma); in MaybeRemoveCommaBeforeVaArgs()
271 VCtx.sawVAOptFollowedByOpeningParens(CurTok.getLocation(), in ExpandFunctionArguments()
291 VCtx.sawOpeningParen(Tokens[I].getLocation()); in ExpandFunctionArguments()
323 /*ClosingParenLoc*/ Tokens[I].getLocation()); in ExpandFunctionArguments()
382 getExpansionLocForMacroDefLoc(CurTok.getLocation()); in ExpandFunctionArguments()
384 getExpansionLocForMacroDefLoc(Tokens[I+1].getLocation()); in ExpandFunctionArguments()
[all …]
H A DPPExpressions.cpp104 SourceLocation beginLoc(PeekTok.getLocation()); in EvaluateDefined()
114 LParenLoc = PeekTok.getLocation(); in EvaluateDefined()
146 Result.setEnd(PeekTok.getLocation()); in EvaluateDefined()
150 PP.Diag(PeekTok.getLocation(), diag::err_pp_expected_after) in EvaluateDefined()
157 Result.setEnd(PeekTok.getLocation()); in EvaluateDefined()
160 Result.setEnd(PeekTok.getLocation()); in EvaluateDefined()
212 SourceRange(beginLoc, PeekTok.getLocation())); in EvaluateDefined()
262 PeekTok.getLocation())) { in EvaluateValue()
277 Result.setRange(PeekTok.getLocation()); in EvaluateValue()
298 NumericLiteralParser Literal(Spelling, PeekTok.getLocation(), in EvaluateValue()
[all …]
H A DPragma.cpp212 SourceLocation PragmaLoc = Tok.getLocation(); in Handle_Pragma()
262 SourceLocation RParenLoc = Tok.getLocation(); in Handle_Pragma()
323 SourceLocation TokLoc = TmpTok.getLocation(); in Handle_Pragma()
347 SourceLocation PragmaLoc = Tok.getLocation(); in HandleMicrosoft__pragma()
475 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation()); in HandlePragmaSystemHeader()
483 Callbacks->FileChanged(SysHeaderTok.getLocation(), in HandlePragmaSystemHeader()
489 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine() + 1, in HandlePragmaSystemHeader()
502 Diag(FilenameTok.getLocation(), diag::err_pp_expects_filename); in HandlePragmaDependency()
514 GetIncludeFilenameSpelling(FilenameTok.getLocation(), Filename); in HandlePragmaDependency()
523 LookupFile(FilenameTok.getLocation(), Filename, isAngled, nullptr, in HandlePragmaDependency()
[all …]
H A DModuleMap.cpp1400 SourceLocation getLocation() const { in getLocation() function
1510 SourceLocation getLocation() { return Tok.getLocation(); } in getLocation() function in clang::ModuleMapParser
1516 SourceLocation Result = Tok.getLocation(); in consumeToken()
1522 Tok.Location = LToken.getLocation().getRawEncoding(); in consumeToken()
1587 Diags.Report(LToken.getLocation(), diag::err_invalid_string_udl); in consumeToken()
1620 Diags.Report(Tok.getLocation(), diag::err_mmap_unknown_token); in consumeToken()
1653 Diags.Report(Tok.getLocation(), diag::err_mmap_unknown_token); in consumeToken()
1719 std::make_pair(std::string(Tok.getString()), Tok.getLocation())); in parseModuleId()
1722 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module_name); in parseModuleId()
1864 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module); in parseModuleDecl()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexDecl.cpp151 MethodLoc = D->getLocation(); in handleObjCMethod()
257 IndexCtx.handleReference(Ctor->getParent(), Ctor->getLocation(), in VisitFunctionDecl()
280 Guide->getLocation(), Guide, in VisitFunctionDecl()
368 return IndexCtx.handleDecl(D, D->getLocation(), SymbolRoleSet(), in VisitTagDecl()
417 return IndexCtx.handleReference(D, D->getLocation(), nullptr, in VisitObjCInterfaceDecl()
430 return IndexCtx.handleReference(D, D->getLocation(), nullptr, in VisitObjCProtocolDecl()
450 if (I->getLocation().isInvalid()) in VisitObjCImplementationDecl()
455 cast<ObjCPropertyImplDecl>(I)->getLocation().isValid()) in VisitObjCImplementationDecl()
468 TRY_TO(IndexCtx.handleReference(C, D->getLocation(), D, D, SymbolRoleSet(), in VisitObjCCategoryDecl()
474 CategoryLoc = D->getLocation(); in VisitObjCCategoryDecl()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp114 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
133 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()
139 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()
154 unsigned RawOffs = SM.getFileOffset(RawTok.getLocation()); in RewriteMacrosInInput()
176 RawOffs = SM.getFileOffset(RawTok.getLocation()); in RewriteMacrosInInput()
199 PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()

12345678910>>...13