Home
last modified time | relevance | path

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

123456789

/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParsePragma.cpp374 Tok.getLocation()); in HandlePragmaWeak()
382 SourceLocation WeakNameLoc = Tok.getLocation(); in HandlePragmaWeakAlias()
385 SourceLocation AliasNameLoc = Tok.getLocation(); in HandlePragmaWeakAlias()
396 SourceLocation RedefNameLoc = Tok.getLocation(); in HandlePragmaRedefineExtname()
399 SourceLocation AliasNameLoc = Tok.getLocation(); in HandlePragmaRedefineExtname()
424 SourceLocation Loc = Tok.getLocation(); in HandlePragmaCaptured()
451 SourceLocation NameLoc = Tok.getLocation(); in HandlePragmaOpenCLExtension()
710 Toks[0].setLocation(Tok.getLocation()); in HandlePragmaMSInitSeg()
773 Actions.Context, Info->PragmaName.getLocation(), PragmaNameInfo); in HandlePragmaLoopHint()
781 Actions.Context, Info->Option.getLocation(), OptionInfo); in HandlePragmaLoopHint()
[all …]
HDParseTemplate.cpp110 Diag(Tok.getLocation(), diag::err_expected_template); in ParseTemplateDeclarationOrSpecialization()
183 Diag(Tok.getLocation(), diag::err_templated_invalid_declaration) in ParseSingleDeclarationAfterTemplate()
331 Diag(Tok.getLocation(), diag::err_expected_less_after) << "template"; in ParseTemplateParameters()
347 RAngleLoc = Tok.getLocation(); in ParseTemplateParameters()
348 Tok.setLocation(Tok.getLocation().getLocWithOffset(1)); in ParseTemplateParameters()
350 Diag(Tok.getLocation(), diag::err_expected) << tok::greater; in ParseTemplateParameters()
388 Diag(Tok.getLocation(), diag::err_expected_comma_greater); in ParseTemplateParameterList()
525 Diag(Tok.getLocation(), diag::err_expected) << tok::identifier; in ParseTypeParameter()
584 Diag(Tok.getLocation(), in ParseTemplateTemplateParameter()
589 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter()
[all …]
HDParseOpenMP.cpp185 Directive = Actions.ActOnDeclStmt(Res, Loc, Tok.getLocation()); in ParseOpenMPDeclarativeOrExecutableDirective()
233 DeclarationNameInfo(Tok.getIdentifierInfo(), Tok.getLocation()); in ParseOpenMPDeclarativeOrExecutableDirective()
275 EndLoc = Tok.getLocation(); in ParseOpenMPDeclarativeOrExecutableDirective()
352 Diag(PrevTok.getLocation(), diag::err_expected) in ParseOpenMPSimpleVarList()
354 << SourceRange(PrevTok.getLocation(), PrevTokLocation); in ParseOpenMPSimpleVarList()
547 SourceLocation Loc = Tok.getLocation(); in ParseOpenMPSimpleClause()
557 SourceLocation TypeLoc = Tok.getLocation(); in ParseOpenMPSimpleClause()
566 Tok.getLocation()); in ParseOpenMPSimpleClause()
587 SourceLocation Loc = Tok.getLocation(); in ParseOpenMPClause()
590 return Actions.ActOnOpenMPClause(Kind, Loc, Tok.getLocation()); in ParseOpenMPClause()
[all …]
HDParseExprCXX.cpp45 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation()); in areTokensAdjacent()
47 return FirstEnd == SM.getSpellingLoc(Second.getLocation()); in areTokensAdjacent()
59 Range.setBegin(DigraphToken.getLocation()); in FixDigraph()
60 Range.setEnd(ColonToken.getLocation()); in FixDigraph()
61 P.Diag(DigraphToken.getLocation(), diag::err_missing_whitespace_digraph) in FixDigraph()
67 ColonToken.setLocation(ColonToken.getLocation().getLocWithOffset(-1)); in FixDigraph()
92 TemplateName.setIdentifier(&II, Tok.getLocation()); in CheckForTemplateAndDigraph()
140 Diag(LParen.getLocation(), diag::err_paren_after_colon_colon) in CheckForLParenAfterColonColon()
141 << FixItHint::CreateRemoval(LParen.getLocation()) in CheckForLParenAfterColonColon()
142 << FixItHint::CreateRemoval(RParen.getLocation()); in CheckForLParenAfterColonColon()
[all …]
HDParser.cpp99 return Diag(Tok.getLocation(), DiagID); in Diag()
140 SourceLocation Loc = Tok.getLocation(); in ExpectAndConsume()
190 << FixItHint::CreateRemoval(Tok.getLocation()); in ExpectAndConsumeSemi()
203 SourceLocation StartLoc = Tok.getLocation(); in ConsumeExtraSemi()
204 SourceLocation EndLoc = Tok.getLocation(); in ConsumeExtraSemi()
209 EndLoc = Tok.getLocation(); in ConsumeExtraSemi()
388 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
554 Actions.ActOnModuleInclude(Tok.getLocation(), in ParseTopLevelDecl()
561 Actions.ActOnModuleBegin(Tok.getLocation(), reinterpret_cast<Module *>( in ParseTopLevelDecl()
567 Actions.ActOnModuleEnd(Tok.getLocation(), reinterpret_cast<Module *>( in ParseTopLevelDecl()
[all …]
HDParseDeclCXX.cpp80 Diag(Tok.getLocation(), diag::warn_cxx14_compat_attribute) in ParseNamespace()
82 attrLoc = Tok.getLocation(); in ParseNamespace()
102 attrLoc = Tok.getLocation(); in ParseNamespace()
171 << FixItHint::CreateInsertion(rBraceToken.getLocation(), RBraces); in ParseNamespace()
278 DeclEnd = Tok.getLocation(); in ParseNamespaceAlias()
303 Tok.is(tok::l_brace) ? Tok.getLocation() : SourceLocation()); in ParseLinkage()
465 DeclEnd = Tok.getLocation(); in ParseUsingDirective()
507 Diag(Tok.getLocation(), diag::err_super_in_using_declaration); in ParseUsingDeclaration()
569 Tok.getLocation(), in ParseUsingDeclaration()
577 Diag(Tok.getLocation(), getLangOpts().CPlusPlus11 ? in ParseUsingDeclaration()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDCommentParser.cpp65 Pos.BufferStartLoc = Tok.getLocation(); in setupBuffer()
272 Arg.getLocation(), in parseParamCommandArgs()
278 Arg.getLocation(), in parseParamCommandArgs()
288 Arg.getLocation(), in parseTParamCommandArgs()
302 Args[ParsedArgs] = Argument(SourceRange(Arg.getLocation(), in parseBlockCommandArgs()
321 PC = S.actOnParamCommandStart(Tok.getLocation(), in parseBlockCommand()
326 TPC = S.actOnTParamCommandStart(Tok.getLocation(), in parseBlockCommand()
331 BC = S.actOnBlockCommandStart(Tok.getLocation(), in parseBlockCommand()
416 IC = S.actOnInlineCommand(CommandTok.getLocation(), in parseInlineCommand()
419 ArgTok.getLocation(), in parseInlineCommand()
[all …]
HDCommentSema.cpp90 Diag(Command->getLocation(), in actOnParamCommandStart()
125 Diag(Comment->getLocation(), diag::warn_doc_function_method_decl_mismatch) in checkFunctionDeclVerbatimLine()
162 Diag(Comment->getLocation(), diag::warn_doc_api_container_decl_mismatch) in checkContainerDeclVerbatimLine()
212 Diag(Comment->getLocation(), diag::warn_doc_container_decl_mismatch) in checkContainerDecl()
291 Diag(Command->getLocation(), in actOnTParamCommandStart()
327 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 …]
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaObjCProperty.cpp99 S.Diag(property->getLocation(), in checkARCPropertyDecl()
288 Loc = Tok.getLocation(); in LocPropertyAttribute()
332 Diag(prevDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
368 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension()
417 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
434 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
447 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
508 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension()
570 Diag(PDecl->getLocation(), diag::err_duplicate_property); in CreatePropertyDecl()
571 Diag(prevDecl->getLocation(), diag::note_property_declare); in CreatePropertyDecl()
[all …]
HDSemaDecl.cpp388 (*Res)->getLocation().getRawEncoding() < in getTypeName()
389 IIDecl->getLocation().getRawEncoding()) in getTypeName()
423 MarkAnyDeclReferenced(TD->getLocation(), TD, /*OdrUse=*/false); in getTypeName()
617 Diag(TplDecl->getLocation(), diag::note_template_decl_here) in DiagnoseUnknownTypeName()
703 SemaRef.Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type) in isTagTypeWithMissingTag()
739 BuildCXXNestedNameSpecifier(S, *Name, NameLoc, NextToken.getLocation(), in ClassifyName()
974 MarkAnyDeclReferenced(Type->getLocation(), Type, /*OdrUse=*/false); in ClassifyName()
1398 if (FD->isInlined() && !isMainFileLoc(*this, FD->getLocation())) in ShouldWarnIfUnusedFileScopedDecl()
1409 if (!isMainFileLoc(*this, VD->getLocation())) in ShouldWarnIfUnusedFileScopedDecl()
1572 Diag(D->getLocation(), DiagID) << D->getDeclName() << Hint; in DiagnoseUnusedDecl()
[all …]
HDSemaDeclObjC.cpp98 SourceLocation loc = method->getLocation(); in checkInitMethod()
141 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride()
147 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride()
154 Diag(Overridden->getLocation(), in CheckObjCMethodOverride()
159 Diag(Overridden->getLocation(), in CheckObjCMethodOverride()
165 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride()
167 Diag(Overridden->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride()
172 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride()
174 Diag(Overridden->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride()
186 Diag(newDecl->getLocation(), in CheckObjCMethodOverride()
[all …]
HDSemaTemplateInstantiateDecl.cpp86 S.AddAlignedAttr(Aligned->getLocation(), New, Result.getAs<Expr>(), in instantiateDependentAlignedAttr()
90 TemplateArgs, Aligned->getLocation(), in instantiateDependentAlignedAttr()
93 S.AddAlignedAttr(Aligned->getLocation(), New, Result, in instantiateDependentAlignedAttr()
119 SourceLocation EllipsisLoc = Aligned->getLocation(); in instantiateDependentAlignedAttr()
155 S.AddAssumeAlignedAttr(Aligned->getLocation(), New, E, OE, in instantiateDependentAssumeAlignedAttr()
166 S.AddAlignValueAttr(Aligned->getLocation(), New, Result.getAs<Expr>(), in instantiateDependentAlignValueAttr()
192 S.Diag(A->getLocation(), diag::err_enable_if_never_constant_expr); in instantiateDependentEnableIfAttr()
199 EnableIfAttr(A->getLocation(), S.getASTContext(), Cond, in instantiateDependentEnableIfAttr()
226 S.AddLaunchBoundsAttr(Attr.getLocation(), New, MaxThreads, MinBlocks, in instantiateDependentCUDALaunchBoundsAttr()
330 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitLabelDecl()
[all …]
HDSemaDeclCXX.cpp252 if (RequireCompleteType(Param->getLocation(), Param->getType(), in SetParamDefaultArgument()
266 InitializationKind Kind = InitializationKind::CreateCopy(Param->getLocation(), in SetParamDefaultArgument()
402 SR = SourceRange((*Toks)[1].getLocation(), in CheckExtraCXXDefaultArguments()
403 Toks->back().getLocation()); in CheckExtraCXXDefaultArguments()
406 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments()
411 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments()
538 Diag(NewParam->getLocation(), DiagDefaultParamID) in MergeCXXFunctionDecl()
549 Diag(OldParam->getLocation(), diag::note_previous_definition) in MergeCXXFunctionDecl()
566 Diag(NewParam->getLocation(), in MergeCXXFunctionDecl()
569 Diag(PrevForDefaultArgs->getLocation(), in MergeCXXFunctionDecl()
[all …]
HDSemaTemplate.cpp390 Diag(Found.getRepresentativeDecl()->getLocation(), in LookupTemplateName()
393 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName()
458 Diag(PrevDecl->getLocation(), diag::note_template_param_here); in DiagnoseTemplateParameterShadow()
492 DI = SemaRef.Context.getTrivialTypeSourceInfo(T, Arg.getLocation()); in translateTemplateArgument()
511 Arg.getLocation(), in translateTemplateArgument()
767 Diag(Param->getLocation(), diag::err_template_template_parm_no_parms) in ActOnTemplateTemplateParameter()
791 Diag(DefaultArg.getLocation(), diag::err_template_arg_not_class_template) in ActOnTemplateTemplateParameter()
797 if (DiagnoseUnexpandedParameterPack(DefaultArg.getLocation(), in ActOnTemplateTemplateParameter()
985 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
987 Diag(Shadow->getUsingDecl()->getLocation(), diag::note_using_decl) << 0; in CheckClassTemplate()
[all …]
HDSema.cpp497 return SM.isBeforeInTranslationUnit(l.first->getLocation(), in getUndefinedButUsed()
498 r.first->getLocation()); in getUndefinedButUsed()
524 S.Diag(ND->getLocation(), diag::warn_undefined_internal) in checkUndefinedButUsed()
529 S.Diag(ND->getLocation(), diag::warn_undefined_inline) << ND; in checkUndefinedButUsed()
633 Diag(TD->getLocation(), diag::warn_unused_local_typedef) in emitAndClearUnusedLocalTypedefWarnings()
711 Diag(WeakID.second.getLocation(), diag::warn_weak_identifier_undeclared) in ActOnEndOfTranslationUnit()
780 Diag(VD->getLocation(), diag::warn_tentative_incomplete_array); in ActOnEndOfTranslationUnit()
785 } else if (RequireCompleteType(VD->getLocation(), VD->getType(), in ActOnEndOfTranslationUnit()
815 Diag(DiagD->getLocation(), diag::warn_unneeded_member_function) in ActOnEndOfTranslationUnit()
821 SourceMgr.getExpansionLoc(FD->getLocation()))) in ActOnEndOfTranslationUnit()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDTokenLexer.cpp36 ExpandLocStart = Tok.getLocation(); in Init()
51 assert(Tokens[0].getLocation().isValid()); in Init()
52 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) && in Init()
60 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation()); in Init()
152 PP.Diag(ResultToks.back().getLocation(), diag::ext_paste_comma); in MaybeRemoveCommaBeforeVaArgs()
193 getExpansionLocForMacroDefLoc(CurTok.getLocation()); in ExpandFunctionArguments()
195 getExpansionLocForMacroDefLoc(Tokens[i+1].getLocation()); in ExpandFunctionArguments()
298 updateLocForMacroArgTokens(CurTok.getLocation(), in ExpandFunctionArguments()
327 PP.Diag(ResultToks.pop_back_val().getLocation(), diag::ext_paste_comma); in ExpandFunctionArguments()
342 updateLocForMacroArgTokens(CurTok.getLocation(), in ExpandFunctionArguments()
[all …]
HDPPDirectives.cpp184 SourceLocation MacroNameLoc = MacroNameTok.getLocation(); in CheckMacroName()
269 Hint = FixItHint::CreateInsertion(Tmp.getLocation(),"//"); in CheckEndOfDirective()
396 CurPPLexer->pushConditionalLevel(Tok.getLocation(), /*wasskipping*/true, in SkipExcludedConditionalBlock()
417 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
444 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
470 Callbacks->Elif(Tok.getLocation(), in SkipExcludedConditionalBlock()
495 Callbacks->SourceRangeSkipped(SourceRange(BeginLoc, Tok.getLocation())); in SkipExcludedConditionalBlock()
848 return HandleIncludeDirective(SavedHash.getLocation(), Result); in HandleDirective()
851 return HandleIncludeMacrosDirective(SavedHash.getLocation(), Result); in HandleDirective()
869 return HandlePragmaDirective(SavedHash.getLocation(), PIK_HashPragma); in HandleDirective()
[all …]
HDPPMacroExpansion.cpp175 IsSystemMacro &= SourceMgr.isInSystemHeader(DMD->getLocation()); in updateModuleMacroInfo()
427 Callbacks->MacroExpands(Identifier, M, Identifier.getLocation(), in HandleMacroExpandedIdentifier()
440 SourceLocation ExpansionEnd = Identifier.getLocation(); in HandleMacroExpandedIdentifier()
465 SourceLocation ExpandLoc = Identifier.getLocation(); in HandleMacroExpandedIdentifier()
542 SourceMgr.createExpansionLoc(Identifier.getLocation(), ExpandLoc, in HandleMacroExpandedIdentifier()
658 SourceRange(ArgStartIterator->getLocation(), in GenerateNewArgTokens()
659 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens()
667 TempToken.setLocation(ArgStartIterator->getLocation()); in GenerateNewArgTokens()
677 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens()
683 ParenHints.push_back(SourceRange(ArgStartIterator->getLocation(), in GenerateNewArgTokens()
[all …]
HDPPExpressions.cpp84 SourceLocation beginLoc(PeekTok.getLocation()); in EvaluateDefined()
94 LParenLoc = PeekTok.getLocation(); in EvaluateDefined()
125 Result.setEnd(PeekTok.getLocation()); in EvaluateDefined()
129 PP.Diag(PeekTok.getLocation(), diag::err_pp_expected_after) in EvaluateDefined()
135 Result.setEnd(PeekTok.getLocation()); in EvaluateDefined()
139 Result.setEnd(PeekTok.getLocation()); in EvaluateDefined()
146 SourceRange(beginLoc, PeekTok.getLocation())); in EvaluateDefined()
192 Result.setRange(PeekTok.getLocation()); in EvaluateValue()
214 NumericLiteralParser Literal(Spelling, PeekTok.getLocation(), PP); in EvaluateValue()
264 Result.setRange(PeekTok.getLocation()); in EvaluateValue()
[all …]
HDPragma.cpp181 SourceLocation PragmaLoc = Tok.getLocation(); in Handle_Pragma()
224 SourceLocation RParenLoc = Tok.getLocation(); in Handle_Pragma()
285 SourceLocation TokLoc = TmpTok.getLocation(); in Handle_Pragma()
305 SourceLocation PragmaLoc = Tok.getLocation(); in HandleMicrosoft__pragma()
429 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation()); in HandlePragmaSystemHeader()
437 Callbacks->FileChanged(SysHeaderTok.getLocation(), in HandlePragmaSystemHeader()
443 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine()+1, in HandlePragmaSystemHeader()
466 GetIncludeFilenameSpelling(FilenameTok.getLocation(), Filename); in HandlePragmaDependency()
475 LookupFile(FilenameTok.getLocation(), Filename, isAngled, nullptr, in HandlePragmaDependency()
511 Diag(PragmaTok.getLocation(), diag::err_pragma_push_pop_macro_malformed) in ParsePragmaPushOrPopMacro()
[all …]
HDModuleMap.cpp973 SourceLocation getLocation() const { in getLocation() function
1068 SourceLocation Result = Tok.getLocation(); in consumeToken()
1073 Tok.Location = LToken.getLocation().getRawEncoding(); in consumeToken()
1137 Diags.Report(LToken.getLocation(), diag::err_invalid_string_udl); in consumeToken()
1165 Diags.Report(LToken.getLocation(), diag::err_mmap_unknown_token); in consumeToken()
1230 Id.push_back(std::make_pair(Tok.getString(), Tok.getLocation())); in parseModuleId()
1233 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module_name); in parseModuleId()
1304 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module); in parseModuleDecl()
1381 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_lbrace) in parseModuleDecl()
1396 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_rbrace); in parseModuleDecl()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDRewriteMacros.cpp115 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
134 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()
140 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()
155 unsigned RawOffs = SM.getFileOffset(RawTok.getLocation()); in RewriteMacrosInInput()
177 RawOffs = SM.getFileOffset(RawTok.getLocation()); in RewriteMacrosInInput()
200 PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDTextDiagnosticBuffer.cpp33 Notes.emplace_back(Info.getLocation(), Buf.str()); in HandleDiagnostic()
36 Warnings.emplace_back(Info.getLocation(), Buf.str()); in HandleDiagnostic()
39 Remarks.emplace_back(Info.getLocation(), Buf.str()); in HandleDiagnostic()
43 Errors.emplace_back(Info.getLocation(), Buf.str()); in HandleDiagnostic()
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransProtectedScope.cpp120 isInRange(I->getLocation(), BodyRange)) { in ProtectedScopeFixer()
133 SourceLocation ErrLoc = DiagI->getLocation(); in handleProtectedScopeError()
151 if (isInRange(Diag.getLocation(), info.Range)) { in handleProtectedNote()
158 Pass.TA.clearDiagnostic(Diag.getID(), Diag.getLocation()); in handleProtectedNote()
183 if (isInRange(DRE->getDecl()->getLocation(), info.Range) && in hasVarReferencedOutside()
184 !isInRange(DRE->getLocation(), info.Range)) in hasVarReferencedOutside()
HDTransforms.cpp169 return findSemiAfterLocation(tok.getLocation(), Ctx, /*IsDecl*/true); in findSemiAfterLocation()
172 return tok.getLocation(); in findSemiAfterLocation()
432 Pass.TA.replaceText(tok.getLocation(), fromAttr, toAttr); in rewritePropertyAttribute()
436 AttrLoc = tok.getLocation(); in rewritePropertyAttribute()
454 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), in rewritePropertyAttribute()
455 AfterTok.getLocation())); in rewritePropertyAttribute()
457 Pass.TA.remove(SourceRange(AttrLoc, AfterTok.getLocation())); in rewritePropertyAttribute()
459 Pass.TA.remove(SourceRange(BeforeTok.getLocation(), AttrLoc)); in rewritePropertyAttribute()
500 Pass.TA.insert(tok.getLocation(), std::string("(") + attr.str() + ") "); in addPropertyAttribute()
506 Pass.TA.insert(tok.getLocation(), attr); in addPropertyAttribute()
[all …]

123456789