Home
last modified time | relevance | path

Searched refs:getSourceLocation (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/llvm-project/lld/MachO/
H A DSymbols.cpp119 std::string Defined::getSourceLocation() { in getSourceLocation() function in Defined
122 return isec->getSourceLocation(value); in getSourceLocation()
H A DSymbolTable.cpp140 std::string srcLoc1 = defined->getSourceLocation(); in addDefined()
141 std::string srcLoc2 = isec ? isec->getSourceLocation(value) : ""; in addDefined()
629 std::string src = loc.isec->getSourceLocation(loc.offset); in reportUndefinedSymbol()
H A DInputSection.h57 std::string getSourceLocation(uint64_t off) const;
H A DSymbols.h140 std::string getSourceLocation();
H A DInputSection.cpp89 std::string InputSection::getSourceLocation(uint64_t off) const { in getSourceLocation() function in InputSection
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h299 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const;
303 SourceLocation getSourceLocation() override { in getSourceLocation() function
304 return getSourceLocation(BufferPtr); in getSourceLocation()
627 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
H A DPreprocessorLexer.h85 virtual SourceLocation getSourceLocation() = 0;
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h53 if (!visit(FD, Initializer->getSourceLocation(), in VisitCXXConstructorDecl()
54 Lexer::getLocForEndOfToken(Initializer->getSourceLocation(), in VisitCXXConstructorDecl()
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_monitor.cpp66 SourceLocation SL = CurrentUBR->Loc.getSourceLocation(); in __ubsan_get_current_report_data()
H A Dubsan_diag.cpp85 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary()
148 SourceLocation SLoc = Loc.getSourceLocation(); in RenderLocation()
H A Dubsan_diag.h61 SourceLocation getSourceLocation() const { in getSourceLocation() function
H A Dubsan_handlers.cpp103 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) in handleTypeMismatchImpl()
161 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) in handleAlignmentAssumptionImpl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentParser.cpp67 SourceLocation getSourceLocation() const { in getSourceLocation() function in clang::comments::TextTokenRetokenizer
162 SourceLocation Loc = getSourceLocation(); in lexWord()
195 SourceLocation Loc = getSourceLocation(); in lexDelimitedSeq()
240 formTokenWithChars(PartialTok, getSourceLocation(), in putBackLeftoverTokens()
H A DCommentLexer.cpp263 Result.setLocation(getSourceLocation(BufferPtr)); in formTokenWithChars()
406 SourceLocation Loc = getSourceLocation(BufferPtr); in lexCommentText()
407 SourceLocation EndLoc = getSourceLocation(TokenPtr); in lexCommentText()
H A DDeclCXX.cpp2644 SourceLocation CXXCtorInitializer::getSourceLocation() const { in getSourceLocation() function in CXXCtorInitializer
2665 return SourceRange(getSourceLocation(), getRParenLoc()); in getSourceRange()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.cpp654 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in tryParseJSRegexLiteral()
775 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset + 1))); in handleCSharpVerbatimAndInterpolatedStrings()
791 Lex->getSourceLocation(Lex->getBufferLocation() - 2 + Text.size()))); in handleTableGenMultilineString()
909 SourceLocation loc = Lex->getSourceLocation(Offset); in handleTemplateStrings()
929 ? Lex->getSourceLocation(CommentBegin + Len) in tryParsePythonComment()
1060 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation( in truncateToken()
1376 Tok.setLocation(Lex->getSourceLocation(Start, Len)); in readRawTokenVerilogSpecific()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp1168 SourceLocation Lexer::getSourceLocation(const char *Loc, in getSourceLocation() function in Lexer
1188 return PP->Diag(getSourceLocation(Loc), DiagID); in Diag()
1586 return CharSourceRange::getCharRange(L.getSourceLocation(Begin), in makeCharRange()
1587 L.getSourceLocation(End)); in makeCharRange()
2077 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix()
2123 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix()
2638 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipLineComment()
2976 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipBlockComment()
3114 SourceLocation EndLoc = getSourceLocation(BufferEnd); in LexEndOfFile()
4200 getSourceLocation(CurPtr + SizeTmp, SizeTmp2), " "); in LexTokenInternal()
[all …]
H A DPPLexerChange.cpp139 EnterLoc = PrevPPLexer->getSourceLocation(); in EnterSourceFileWithLexer()
509 SourceLocation Loc = CurPPLexer->getSourceLocation(); in HandleEndOfFile()
H A DPPDirectives.cpp599 assert(CurLexer->getSourceLocation(Hashptr) == Tok.getLocation()); in SkipExcludedConditionalBlock()
855 : CurPPLexer->getSourceLocation()), in SkipExcludedConditionalBlock()
1470 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleLineDirective()
1630 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), Reason, FileKind); in HandleDigitDirective()
/freebsd/contrib/llvm-project/lld/COFF/
H A DSymbolTable.cpp646 static std::string getSourceLocation(InputFile *file, SectionChunk *sc, in getSourceLocation() function
673 os << getSourceLocation(d->getFile(), d->getChunk(), d->getValue(), in reportDuplicate()
676 os << getSourceLocation(existing->getFile(), nullptr, 0, ""); in reportDuplicate()
678 os << getSourceLocation(newFile, newSc, newSectionOffset, in reportDuplicate()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCommentLexer.h308 SourceLocation getSourceLocation(const char *Loc) const { in getSourceLocation() function
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp257 auto Loc = Initializer->getSourceLocation(); in VisitCXXConstructorDecl()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp405 unsigned NextToWrite = SM.getFileOffset(RawLex.getSourceLocation()); in Process()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp5355 MarkFunctionReferenced(Initializer->getSourceLocation(), Dtor); in SetDelegatingInitializer()
5356 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); in SetDelegatingInitializer()
5592 Init->getSourceLocation())) { in DiagnoseBaseOrMemInitializerOrder()
5672 Inits[WarnIndexes.front() - 1]->getSourceLocation(), in DiagnoseBaseOrMemInitializerOrder()
5702 auto D = SemaRef.Diag(PrevInit->getSourceLocation(), in DiagnoseBaseOrMemInitializerOrder()
5719 S.Diag(Init->getSourceLocation(), in CheckRedundantInit()
5726 S.Diag(Init->getSourceLocation(), in CheckRedundantInit()
5731 S.Diag(PrevInit->getSourceLocation(), diag::note_previous_initializer) in CheckRedundantInit()
5751 S.Diag(Init->getSourceLocation(), in CheckRedundantUnionInit()
5821 Diag(Init->getSourceLocation(), in ActOnMemInitializers()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp690 return PathDiagnosticLocation(PIP->getInitializer()->getSourceLocation(), in create()

12