/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | RedundantMemberInitCheck.cpp | 65 diag(Init->getSourceLocation(), "initializer for member %0 is redundant") in check() 69 diag(Init->getSourceLocation(), in check()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 217 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const; 221 SourceLocation getSourceLocation() override { in getSourceLocation() function 222 return getSourceLocation(BufferPtr); in getSourceLocation() 506 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
|
D | PTHLexer.h | 96 SourceLocation getSourceLocation() override;
|
D | PreprocessorLexer.h | 89 virtual SourceLocation getSourceLocation() = 0;
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | CopyConstructorInitCheck.cpp | 82 if (Init->getSourceLocation().isMacroID() || in check() 107 FixItLoc = (*Ctor->init_begin())->getSourceLocation(); in check()
|
/external/llvm-project/clang/include/clang/Lex/ |
D | Lexer.h | 261 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()
|
D | PreprocessorLexer.h | 84 virtual SourceLocation getSourceLocation() = 0;
|
/external/llvm-project/clang/include/clang/Tooling/Refactoring/ |
D | RecursiveSymbolVisitor.h | 53 if (!visit(FD, Initializer->getSourceLocation(), in VisitCXXConstructorDecl() 54 Lexer::getLocForEndOfToken(Initializer->getSourceLocation(), in VisitCXXConstructorDecl()
|
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
D | ImplicitCtorInitializer.cpp | 26 Match("initializer", Init->getSourceLocation()); in TraverseConstructorInitializer()
|
/external/llvm-project/compiler-rt/lib/ubsan/ |
D | ubsan_monitor.cpp | 65 SourceLocation SL = CurrentUBR->Loc.getSourceLocation(); in __ubsan_get_current_report_data()
|
D | ubsan_diag.cpp | 87 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary() 150 SourceLocation SLoc = Loc.getSourceLocation(); in RenderLocation()
|
D | ubsan_diag.h | 81 SourceLocation getSourceLocation() const { in getSourceLocation() function
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | MoveConstructorInitCheck.cpp | 81 diag(Initializer->getSourceLocation(), in check()
|
/external/llvm-project/clang/lib/AST/ |
D | CommentParser.cpp | 67 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()
|
D | CommentLexer.cpp | 282 Result.setLocation(getSourceLocation(BufferPtr)); in formTokenWithChars() 410 SourceLocation Loc = getSourceLocation(BufferPtr); in lexCommentText() 411 SourceLocation EndLoc = getSourceLocation(TokenPtr); in lexCommentText()
|
/external/clang/lib/AST/ |
D | CommentParser.cpp | 68 SourceLocation getSourceLocation() const { in getSourceLocation() function in clang::comments::TextTokenRetokenizer 163 SourceLocation Loc = getSourceLocation(); in lexWord() 196 SourceLocation Loc = getSourceLocation(); in lexDelimitedSeq() 241 formTokenWithChars(PartialTok, getSourceLocation(), in putBackLeftoverTokens()
|
D | CommentLexer.cpp | 283 Result.setLocation(getSourceLocation(BufferPtr)); in formTokenWithChars() 380 SourceLocation Loc = getSourceLocation(BufferPtr); in lexCommentText() 382 getSourceLocation(TokenPtr)); in lexCommentText()
|
/external/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 1129 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() 1841 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix() 1888 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix() 2256 Handler->HandleEmptyline(SourceRange(getSourceLocation(NewLinePtr + 1), in SkipWhitespace() 2257 getSourceLocation(lastNewLine))); in SkipWhitespace() 2377 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipLineComment() 2378 getSourceLocation(CurPtr)))) { in SkipLineComment() [all …]
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 550 SourceLocation StartLoc = TheLexer.getSourceLocation(); in ComputePreamble() 1070 SourceLocation Lexer::getSourceLocation(const char *Loc, in getSourceLocation() function in Lexer 1090 return PP->Diag(getSourceLocation(Loc), DiagID); in Diag() 1420 return CharSourceRange::getCharRange(L.getSourceLocation(Begin), in makeCharRange() 1421 L.getSourceLocation(End)); in makeCharRange() 1676 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix() 1723 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix() 2147 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipLineComment() 2148 getSourceLocation(CurPtr)))) { in SkipLineComment() 2419 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipBlockComment() [all …]
|
D | PPDirectives.cpp | 541 const SourceLocation CondBegin = CurPPLexer->getSourceLocation(); in SkipExcludedConditionalBlock() 550 const SourceLocation CondEnd = CurPPLexer->getSourceLocation(); in SkipExcludedConditionalBlock() 1198 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleLineDirective() 1352 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), Reason, FileKind); in HandleDigitDirective() 2654 const SourceLocation ConditionalBegin = CurPPLexer->getSourceLocation(); in HandleIfDirective() 2656 const SourceLocation ConditionalEnd = CurPPLexer->getSourceLocation(); in HandleIfDirective() 2748 const SourceLocation ConditionalBegin = CurPPLexer->getSourceLocation(); in HandleElifDirective() 2750 const SourceLocation ConditionalEnd = CurPPLexer->getSourceLocation(); in HandleElifDirective()
|
/external/llvm-project/clang/lib/Format/ |
D | FormatTokenLexer.cpp | 569 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in tryParseJSRegexLiteral() 629 ? Lex->getSourceLocation(Offset + 1) in handleCSharpVerbatimAndInterpolatedStrings() 696 ? Lex->getSourceLocation(Offset + 1) in handleTemplateStrings() 717 ? Lex->getSourceLocation(CommentBegin + Len) in tryParsePythonComment() 932 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in getNextToken()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_diag.cc | 75 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary() 140 SourceLocation SLoc = Loc.getSourceLocation(); in RenderLocation()
|
D | ubsan_diag.h | 82 SourceLocation getSourceLocation() const { in getSourceLocation() function
|
/external/llvm-project/lld/COFF/ |
D | SymbolTable.cpp | 569 static std::string getSourceLocation(InputFile *file, SectionChunk *sc, in getSourceLocation() function 596 os << getSourceLocation(d->getFile(), d->getChunk(), d->getValue(), in reportDuplicate() 599 os << getSourceLocation(existing->getFile(), nullptr, 0, ""); in reportDuplicate() 601 os << getSourceLocation(newFile, newSc, newSectionOffset, in reportDuplicate()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | PassByValueCheck.cpp | 218 Result.SourceManager->getFileID(Initializer->getSourceLocation()), in check()
|