Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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.h84 virtual SourceLocation getSourceLocation() = 0;
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h53 if (!visit(FD, Initializer->getSourceLocation(), in VisitCXXConstructorDecl()
54 Lexer::getLocForEndOfToken(Initializer->getSourceLocation(), in VisitCXXConstructorDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DLexer.cpp1129 SourceLocation Lexer::getSourceLocation(const char *Loc, in getSourceLocation() function in Lexer
1149 return PP->Diag(getSourceLocation(Loc), DiagID); in Diag()
1473 return CharSourceRange::getCharRange(L.getSourceLocation(Begin), in makeCharRange()
1474 L.getSourceLocation(End)); in makeCharRange()
1843 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix()
1890 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix()
2258 Handler->HandleEmptyline(SourceRange(getSourceLocation(NewLinePtr + 1), in SkipWhitespace()
2259 getSourceLocation(lastNewLine))); in SkipWhitespace()
2379 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipLineComment()
2380 getSourceLocation(CurPtr)))) { in SkipLineComment()
[all …]
H A DPPLexerChange.cpp469 SourceMgr.getFileCharacteristic(CurPPLexer->getSourceLocation()); in HandleEndOfFile()
470 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleEndOfFile()
H A DPPDirectives.cpp654 : CurPPLexer->getSourceLocation()), in SkipExcludedConditionalBlock()
1247 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleLineDirective()
1399 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), Reason, FileKind); in HandleDigitDirective()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/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()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
H A Dubsan_monitor.cc66 SourceLocation SL = CurrentUBR->Loc.getSourceLocation(); in __ubsan_get_current_report_data()
H A Dubsan_diag.cc80 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary()
143 SourceLocation SLoc = Loc.getSourceLocation(); in RenderLocation()
H A Dubsan_diag.h82 SourceLocation getSourceLocation() const { in getSourceLocation() function
H A Dubsan_handlers.cc62 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) in handleTypeMismatchImpl()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
H A Dubsan_monitor.cc64 SourceLocation SL = CurrentUBR->Loc.getSourceLocation(); in __ubsan_get_current_report_data()
H A Dubsan_diag.cc78 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary()
141 SourceLocation SLoc = Loc.getSourceLocation(); in RenderLocation()
H A Dubsan_diag.h80 SourceLocation getSourceLocation() const { in getSourceLocation() function
H A Dubsan_handlers.cc60 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) in handleTypeMismatchImpl()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DFormatTokenLexer.cpp553 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in tryParseJSRegexLiteral()
613 ? Lex->getSourceLocation(Offset + 1) in handleCSharpVerbatimAndInterpolatedStrings()
680 ? Lex->getSourceLocation(Offset + 1) in handleTemplateStrings()
701 ? Lex->getSourceLocation(CommentBegin + Len) in tryParsePythonComment()
916 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in getNextToken()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DCommentLexer.h308 SourceLocation getSourceLocation(const char *Loc) const { in getSourceLocation() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp256 auto Loc = Initializer->getSourceLocation(); in VisitCXXConstructorDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp400 unsigned NextToWrite = SM.getFileOffset(RawLex.getSourceLocation()); in Process()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclCXX.cpp5042 MarkFunctionReferenced(Initializer->getSourceLocation(), Dtor); in SetDelegatingInitializer()
5043 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); in SetDelegatingInitializer()
5125 Diag(Value->getSourceLocation(), diag::warn_abstract_vbase_init_ignored) in SetCtorInitializers()
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()
[all …]

12