Searched refs:getLocation (Results 1 - 25 of 278) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DWeak.h34 inline SourceLocation getLocation() const { return loc; } function in class:clang::WeakInfo
38 return alias == RHS.getAlias() && loc == RHS.getLocation();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnosticBuffer.cpp35 Notes.emplace_back(Info.getLocation(), Buf.str());
39 Warnings.emplace_back(Info.getLocation(), Buf.str());
43 Remarks.emplace_back(Info.getLocation(), Buf.str());
48 Errors.emplace_back(Info.getLocation(), Buf.str());
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DCommentBriefParser.h38 SourceLocation Loc = Tok.getLocation();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp117 Toks[0].setLocation(Tok.getLocation());
118 Toks[0].setAnnotationEndLoc(Tok.getLocation());
524 SourceLocation PragmaLoc = Tok.getLocation();
553 Actions.ActOnPragmaOptionsAlign(Kind, Tok.getLocation());
563 Actions.ActOnPragmaDump(getCurScope(), Tok.getLocation(), II);
571 Tok.getLocation());
579 SourceLocation WeakNameLoc = Tok.getLocation();
582 SourceLocation AliasNameLoc = Tok.getLocation();
593 SourceLocation RedefNameLoc = Tok.getLocation();
596 SourceLocation AliasNameLoc = Tok.getLocation();
[all...]
H A DParseTemplate.cpp112 Diag(Tok.getLocation(), diag::err_expected_template);
188 Diag(Tok.getLocation(), diag::err_templated_invalid_declaration)
360 Diag(Tok.getLocation(), diag::ext_concept_legacy_bool_keyword) <<
401 Diag(Tok.getLocation(), diag::err_expected) << tok::equal;
413 DeclEnd = Tok.getLocation();
435 Diag(Tok.getLocation(), diag::err_expected_less_after) << "template";
451 RAngleLoc = Tok.getLocation();
452 Tok.setLocation(Tok.getLocation().getLocWithOffset(1));
454 Diag(Tok.getLocation(), diag::err_expected) << tok::greater;
493 Diag(Tok.getLocation(), dia
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DCommentParser.cpp64 Pos.BufferStartLoc = Tok.getLocation();
271 Arg.getLocation(),
277 Arg.getLocation(),
287 Arg.getLocation(),
301 Args[ParsedArgs] = Argument(SourceRange(Arg.getLocation(),
320 PC = S.actOnParamCommandStart(Tok.getLocation(),
325 TPC = S.actOnTParamCommandStart(Tok.getLocation(),
330 BC = S.actOnBlockCommandStart(Tok.getLocation(),
415 IC = S.actOnInlineCommand(CommandTok.getLocation(),
418 ArgTok.getLocation(),
[all...]
H A DASTStructuralEquivalence.cpp984 Owner2->getLocation(),
987 Context.Diag2(Field2->getLocation(), diag::note_odr_field_name)
989 Context.Diag1(Field1->getLocation(), diag::note_odr_field_name)
999 Owner2->getLocation(),
1002 Context.Diag2(Field2->getLocation(), diag::note_odr_field)
1004 Context.Diag1(Field1->getLocation(), diag::note_odr_field)
1013 Owner2->getLocation(),
1017 Context.Diag1(Field1->getLocation(), diag::note_odr_bit_field)
1020 Context.Diag2(Field2->getLocation(), diag::note_odr_not_bit_field)
1023 Context.Diag2(Field2->getLocation(), dia
[all...]
H A DCommentSema.cpp89 Diag(Command->getLocation(),
124 Diag(Comment->getLocation(), diag::warn_doc_function_method_decl_mismatch)
161 Diag(Comment->getLocation(), diag::warn_doc_api_container_decl_mismatch)
211 Diag(Comment->getLocation(), diag::warn_doc_container_decl_mismatch)
290 Diag(Command->getLocation(),
326 Diag(PrevCommand->getLocation(), diag::note_doc_tparam_previous)
481 Diag(HET->getLocation(), diag::warn_doc_html_end_forbidden)
497 Diag(HET->getLocation(), diag::warn_doc_html_end_unbalanced)
518 HST->getLocation(),
522 HET->getLocation(),
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp114 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation());
133 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//");
139 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//");
154 unsigned RawOffs = SM.getFileOffset(RawTok.getLocation());
176 RawOffs = SM.getFileOffset(RawTok.getLocation());
199 PPLoc = SM.getExpansionLoc(PPTok.getLocation());
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.h93 PathDiagnosticLocation getLocation() const override {
99 return PathSensitiveBugReport::getLocation();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp438 (*Res)->getLocation().getRawEncoding() <
439 IIDecl->getLocation().getRawEncoding())
484 MarkAnyDeclReferenced(TD->getLocation(), TD, /*OdrUse=*/false);
822 SemaRef.Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type)
1128 MarkAnyDeclReferenced(Type->getLocation(), Type, /*OdrUse=*/false);
1562 Diag(New->getLocation(), diag::err_mismatched_owning_module)
1568 Diag(Old->getLocation(), diag::note_previous_declaration);
1669 if (FD->isInlined() && !isMainFileLoc(*this, FD->getLocation()))
1680 if (!isMainFileLoc(*this, VD->getLocation()))
1694 if (VD->isInline() && !isMainFileLoc(*this, VD->getLocation()))
[all...]
H A DSemaDeclObjC.cpp95 SourceLocation loc = method->getLocation();
116 S.Diag(NewD->getLocation(), diag::warn_overriding_method_missing_noescape);
117 S.Diag(OldD->getLocation(), diag::note_overridden_marked_noescape);
130 S.Diag(CD->getLocation(), diag::note_cat_conform_to_noescape_prot)
161 Diag(NewMethod->getLocation(),
167 Diag(NewMethod->getLocation(),
174 Diag(Overridden->getLocation(),
179 Diag(Overridden->getLocation(),
185 Diag(NewMethod->getLocation(),
190 Diag(Overridden->getLocation(), dia
[all...]
H A DSemaObjCProperty.cpp99 S.Diag(property->getLocation(),
337 Loc = Tok.getLocation();
407 S.Diag(NewProperty->getLocation(), diag::warn_property_attribute)
410 S.Diag(OldProperty->getLocation(), diag::note_property_declare);
437 Diag(CDecl->getLocation(), diag::err_continuation_class);
452 Diag(PIDecl->getLocation(), diag::note_property_declare);
474 Diag(PIDecl->getLocation(), diag::note_property_declare);
484 Diag(PIDecl->getLocation(), diag::note_property_declare);
500 Diag(PIDecl->getLocation(), diag::note_property_declare);
514 Diag(PIDecl->getLocation(), dia
[all...]
H A DSemaTemplateInstantiateDecl.cpp92 TemplateArgs, Aligned->getLocation(),
120 SourceLocation EllipsisLoc = Aligned->getLocation();
177 S.getASTContext().UnsignedLongLongTy, Align->getLocation());
204 S.Diag(A->getLocation(), diag::err_attr_cond_never_constant_expr) << A;
711 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(),
743 D->getLocation(), D->getDeclName());
749 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType());
772 D->getLocation(), D->getIdentifier(), DI);
775 D->getLocation(), D->getIdentifier(), DI);
791 NamedDecl *InstPrev = SemaRef.FindInstantiatedDecl(D->getLocation(), Pre
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp87 Res.setBegin(Tmp.getLocation());
92 Res.setEnd(Tmp.getLocation());
278 SourceLocation MacroNameLoc = MacroNameTok.getLocation();
359 return Tmp.getLocation();
368 Hint = FixItHint::CreateInsertion(Tmp.getLocation(),"//");
523 CurPPLexer->pushConditionalLevel(Tok.getLocation(), /*wasskipping*/true,
544 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc);
571 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc);
597 Tok.getLocation(), DER.ExprRange,
625 Tok.getLocation());
[all...]
H A DPPMacroExpansion.cpp234 IsSystemMacro &= SourceMgr.isInSystemHeader(DMD->getLocation());
482 Callbacks->MacroExpands(Identifier, M, Identifier.getLocation(),
495 SourceLocation ExpansionEnd = Identifier.getLocation();
523 SourceLocation ExpandLoc = Identifier.getLocation();
599 SourceMgr.createExpansionLoc(Identifier.getLocation(), ExpandLoc,
713 SourceRange(ArgStartIterator->getLocation(),
714 PP.getLocForEndOfToken(ClosingBrace->getLocation())));
722 TempToken.setLocation(ArgStartIterator->getLocation());
732 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation());
738 ParenHints.push_back(SourceRange(ArgStartIterator->getLocation(),
[all...]
H A DPPCaching.cpp126 if (AnnotBegin->getLocation() == Tok.getLocation()) {
150 Tok.getLocation(), getLastCachedTokenLocation(), &RelOffset)) ||
H A DTokenLexer.cpp48 ExpandLocStart = Tok.getLocation();
64 assert(Tokens[0].getLocation().isValid());
65 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) &&
73 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation());
165 PP.Diag(ResultToks.back().getLocation(), diag::ext_paste_comma);
271 VCtx.sawVAOptFollowedByOpeningParens(CurTok.getLocation(),
291 VCtx.sawOpeningParen(Tokens[I].getLocation());
323 /*ClosingParenLoc*/ Tokens[I].getLocation());
382 getExpansionLocForMacroDefLoc(CurTok.getLocation());
384 getExpansionLocForMacroDefLoc(Tokens[I+1].getLocation());
[all...]
H A DPragma.cpp207 SourceLocation PragmaLoc = Tok.getLocation();
257 SourceLocation RParenLoc = Tok.getLocation();
318 SourceLocation TokLoc = TmpTok.getLocation();
342 SourceLocation PragmaLoc = Tok.getLocation();
470 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation());
478 Callbacks->FileChanged(SysHeaderTok.getLocation(),
484 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine() + 1,
497 Diag(FilenameTok.getLocation(), diag::err_pp_expects_filename);
509 GetIncludeFilenameSpelling(FilenameTok.getLocation(), Filename);
518 LookupFile(FilenameTok.getLocation(), Filenam
[all...]
H A DPPExpressions.cpp102 SourceLocation beginLoc(PeekTok.getLocation());
112 LParenLoc = PeekTok.getLocation();
144 Result.setEnd(PeekTok.getLocation());
148 PP.Diag(PeekTok.getLocation(), diag::err_pp_expected_after)
155 Result.setEnd(PeekTok.getLocation());
158 Result.setEnd(PeekTok.getLocation());
210 SourceRange(beginLoc, PeekTok.getLocation()));
259 Result.setRange(PeekTok.getLocation());
280 NumericLiteralParser Literal(Spelling, PeekTok.getLocation(), PP);
330 Result.setRange(PeekTok.getLocation());
[all...]
/freebsd-11-stable/contrib/llvm-project/lld/Common/
H A DErrorHandler.cpp115 std::string ErrorHandler::getLocation(const Twine &msg) { function in class:ErrorHandler
172 lld::errs() << sep << getLocation(msg) << ": " << Colors::MAGENTA
197 lld::errs() << sep << getLocation(msg) << ": " << Colors::RED
200 lld::errs() << sep << getLocation(msg) << ": " << Colors::RED
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DSource.cpp37 SourceLocation SourceMapper::getLocation(Function *F, CodePtr PC) const { function in class:SourceMapper
/freebsd-11-stable/contrib/llvm-project/clang/lib/Rewrite/
H A DTokenRewriter.cpp64 TokenAtLoc.find(I->getLocation());
75 bool InsertSuccess = TokenAtLoc.insert(std::make_pair(T.getLocation(),
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp105 areOnSameLine(NextToken->getLocation(), End, SM)) {
106 ExtractedRange.setEnd(NextToken->getLocation());
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp120 isInRange(I->getLocation(), BodyRange)) {
133 SourceLocation ErrLoc = DiagI->getLocation();
151 if (isInRange(Diag.getLocation(), info.Range)) {
158 Pass.TA.clearDiagnostic(Diag.getID(), Diag.getLocation());
183 if (isInRange(DRE->getDecl()->getLocation(), info.Range) &&
184 !isInRange(DRE->getLocation(), info.Range))

Completed in 416 milliseconds

1234567891011>>