Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h261 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const;
265 SourceLocation getSourceLocation() override { in getSourceLocation() function
266 return getSourceLocation(BufferPtr); in getSourceLocation()
590 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
H A DPreprocessorLexer.h93 virtual SourceLocation getSourceLocation() = 0;
/freebsd-13.1/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-13.1/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_monitor.cpp65 SourceLocation SL = CurrentUBR->Loc.getSourceLocation(); in __ubsan_get_current_report_data()
H A Dubsan_diag.cpp87 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary()
150 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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp1144 SourceLocation Lexer::getSourceLocation(const char *Loc, in getSourceLocation() function in Lexer
1164 return PP->Diag(getSourceLocation(Loc), DiagID); in Diag()
1488 return CharSourceRange::getCharRange(L.getSourceLocation(Begin), in makeCharRange()
1489 L.getSourceLocation(End)); in makeCharRange()
1858 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix()
1905 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix()
2394 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipLineComment()
2395 getSourceLocation(CurPtr)))) { in SkipLineComment()
2680 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipBlockComment()
2814 SourceLocation EndLoc = getSourceLocation(BufferEnd); in LexEndOfFile()
[all …]
H A DPPLexerChange.cpp510 SourceMgr.getFileCharacteristic(CurPPLexer->getSourceLocation()); in HandleEndOfFile()
511 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleEndOfFile()
H A DPPDirectives.cpp717 : CurPPLexer->getSourceLocation()), in SkipExcludedConditionalBlock()
1313 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleLineDirective()
1465 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), Reason, FileKind); in HandleDigitDirective()
H A DModuleMap.cpp3026 SourceLocation Start = L.getSourceLocation(); in parseModuleMapFile()
/freebsd-13.1/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.cpp282 Result.setLocation(getSourceLocation(BufferPtr)); in formTokenWithChars()
410 SourceLocation Loc = getSourceLocation(BufferPtr); in lexCommentText()
411 SourceLocation EndLoc = getSourceLocation(TokenPtr); in lexCommentText()
H A DDeclCXX.cpp2544 SourceLocation CXXCtorInitializer::getSourceLocation() const { in getSourceLocation() function in CXXCtorInitializer
2565 return SourceRange(getSourceLocation(), getRParenLoc()); in getSourceRange()
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.cpp555 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in tryParseJSRegexLiteral()
615 ? Lex->getSourceLocation(Offset + 1) in handleCSharpVerbatimAndInterpolatedStrings()
682 ? Lex->getSourceLocation(Offset + 1) in handleTemplateStrings()
703 ? Lex->getSourceLocation(CommentBegin + Len) in tryParsePythonComment()
918 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in getNextToken()
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DSymbolTable.cpp629 static std::string getSourceLocation(InputFile *file, SectionChunk *sc, in getSourceLocation() function
656 os << getSourceLocation(d->getFile(), d->getChunk(), d->getValue(), in reportDuplicate()
659 os << getSourceLocation(existing->getFile(), nullptr, 0, ""); in reportDuplicate()
661 os << getSourceLocation(newFile, newSc, newSectionOffset, in reportDuplicate()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DCommentLexer.h308 SourceLocation getSourceLocation(const char *Loc) const { in getSourceLocation() function
H A DDeclCXX.h2335 SourceLocation getSourceLocation() const;
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp256 auto Loc = Initializer->getSourceLocation(); in VisitCXXConstructorDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp400 unsigned NextToWrite = SM.getFileOffset(RawLex.getSourceLocation()); in Process()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp5042 MarkFunctionReferenced(Initializer->getSourceLocation(), Dtor); in SetDelegatingInitializer()
5043 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); in SetDelegatingInitializer()
5279 Init->getSourceLocation())) { in DiagnoseBaseOrMemInitializerOrder()
5360 Inits[WarnIndexes.front() - 1]->getSourceLocation(), in DiagnoseBaseOrMemInitializerOrder()
5390 auto D = SemaRef.Diag(PrevInit->getSourceLocation(), in DiagnoseBaseOrMemInitializerOrder()
5407 S.Diag(Init->getSourceLocation(), in CheckRedundantInit()
5414 S.Diag(Init->getSourceLocation(), in CheckRedundantInit()
5419 S.Diag(PrevInit->getSourceLocation(), diag::note_previous_initializer) in CheckRedundantInit()
5439 S.Diag(Init->getSourceLocation(), in CheckRedundantUnionInit()
5509 Diag(Init->getSourceLocation(), in ActOnMemInitializers()
[all …]
H A DSemaTemplateInstantiateDecl.cpp5635 Init->getSourceLocation(), in InstantiateMemInitializers()
5670 Init->getSourceLocation(), in InstantiateMemInitializers()
5696 Init->getSourceLocation()); in InstantiateMemInitializers()
5710 Init->getSourceLocation()); in InstantiateMemInitializers()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp693 return PathDiagnosticLocation(PIP->getInitializer()->getSourceLocation(), in create()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGClass.cpp632 ApplyDebugLocation Loc(CGF, MemberInit->getSourceLocation()); in EmitMemberInitializer()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp824 BMI->getSourceLocation(), in ProcessInitializer()