Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/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()
623 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
H A DPreprocessorLexer.h85 virtual SourceLocation getSourceLocation() = 0;
/openbsd/gnu/llvm/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.cpp99 std::string srcLoc1 = defined->getSourceLocation(); in addDefined()
100 std::string srcLoc2 = isec ? isec->getSourceLocation(value) : ""; in addDefined()
552 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
/openbsd/gnu/llvm/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h53 if (!visit(FD, Initializer->getSourceLocation(), in VisitCXXConstructorDecl()
54 Lexer::getLocForEndOfToken(Initializer->getSourceLocation(), in VisitCXXConstructorDecl()
/openbsd/gnu/llvm/compiler-rt/lib/ubsan/
H A Dubsan_monitor.cpp65 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.h81 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()
/openbsd/gnu/llvm/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.cpp2590 SourceLocation CXXCtorInitializer::getSourceLocation() const { in getSourceLocation() function in CXXCtorInitializer
2611 return SourceRange(getSourceLocation(), getRParenLoc()); in getSourceRange()
/openbsd/gnu/llvm/clang/lib/Lex/
H A DLexer.cpp1149 SourceLocation Lexer::getSourceLocation(const char *Loc, in getSourceLocation() function in Lexer
1169 return PP->Diag(getSourceLocation(Loc), DiagID); in Diag()
1561 return CharSourceRange::getCharRange(L.getSourceLocation(Begin), in makeCharRange()
1562 L.getSourceLocation(End)); in makeCharRange()
2007 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix()
2053 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix()
2568 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipLineComment()
2906 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipBlockComment()
3044 SourceLocation EndLoc = getSourceLocation(BufferEnd); in LexEndOfFile()
4128 getSourceLocation(CurPtr + SizeTmp, SizeTmp2), " "); in LexTokenInternal()
[all …]
H A DPPLexerChange.cpp139 EnterLoc = PrevPPLexer->getSourceLocation(); in EnterSourceFileWithLexer()
500 SourceLocation Loc = CurPPLexer->getSourceLocation(); in HandleEndOfFile()
H A DPPDirectives.cpp579 assert(CurLexer->getSourceLocation(Hashptr) == Tok.getLocation()); in SkipExcludedConditionalBlock()
835 : CurPPLexer->getSourceLocation()), in SkipExcludedConditionalBlock()
1451 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleLineDirective()
1611 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), Reason, FileKind); in HandleDigitDirective()
/openbsd/gnu/llvm/clang/lib/Format/
H A DFormatTokenLexer.cpp612 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in tryParseJSRegexLiteral()
733 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset + 1))); in handleCSharpVerbatimAndInterpolatedStrings()
798 SourceLocation loc = Lex->getSourceLocation(Offset); in handleTemplateStrings()
818 ? Lex->getSourceLocation(CommentBegin + Len) in tryParsePythonComment()
949 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation( in truncateToken()
1259 Tok.setLocation(Lex->getSourceLocation(Start, Len)); in readRawTokenVerilogSpecific()
/openbsd/gnu/llvm/lld/COFF/
H A DSymbolTable.cpp624 static std::string getSourceLocation(InputFile *file, SectionChunk *sc, in getSourceLocation() function
651 os << getSourceLocation(d->getFile(), d->getChunk(), d->getValue(), in reportDuplicate()
654 os << getSourceLocation(existing->getFile(), nullptr, 0, ""); in reportDuplicate()
656 os << getSourceLocation(newFile, newSc, newSectionOffset, in reportDuplicate()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DCommentLexer.h308 SourceLocation getSourceLocation(const char *Loc) const { in getSourceLocation() function
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp256 auto Loc = Initializer->getSourceLocation(); in VisitCXXConstructorDecl()
/openbsd/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp382 unsigned NextToWrite = SM.getFileOffset(RawLex.getSourceLocation()); in Process()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaDeclCXX.cpp5163 MarkFunctionReferenced(Initializer->getSourceLocation(), Dtor); in SetDelegatingInitializer()
5164 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); in SetDelegatingInitializer()
5400 Init->getSourceLocation())) { in DiagnoseBaseOrMemInitializerOrder()
5480 Inits[WarnIndexes.front() - 1]->getSourceLocation(), in DiagnoseBaseOrMemInitializerOrder()
5510 auto D = SemaRef.Diag(PrevInit->getSourceLocation(), in DiagnoseBaseOrMemInitializerOrder()
5527 S.Diag(Init->getSourceLocation(), in CheckRedundantInit()
5534 S.Diag(Init->getSourceLocation(), in CheckRedundantInit()
5539 S.Diag(PrevInit->getSourceLocation(), diag::note_previous_initializer) in CheckRedundantInit()
5559 S.Diag(Init->getSourceLocation(), in CheckRedundantUnionInit()
5629 Diag(Init->getSourceLocation(), in ActOnMemInitializers()
[all …]
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DPathDiagnostic.cpp691 return PathDiagnosticLocation(PIP->getInitializer()->getSourceLocation(), in create()

12