| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantMemberInitCheck.cpp | 60 diag(Init->getSourceLocation(), "initializer for member %0 is redundant") in check() 64 diag(Init->getSourceLocation(), in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | CopyConstructorInitCheck.cpp | 82 if (Init->getSourceLocation().isMacroID() || in check() 107 FixItLoc = (*Ctor->init_begin())->getSourceLocation(); in check()
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | Symbols.cpp | 103 std::string Defined::getSourceLocation() { in getSourceLocation() function in Defined 106 return isec->getSourceLocation(value); in getSourceLocation()
|
| H A D | SymbolTable.cpp | 86 std::string src1 = defined->getSourceLocation(); in addDefined() 87 std::string src2 = isec ? isec->getSourceLocation(value) : ""; in addDefined() 404 std::string src = loc.isec->getSourceLocation(loc.offset); in reportPendingUndefinedSymbols()
|
| H A D | Symbols.h | 135 std::string getSourceLocation();
|
| H A D | InputSection.h | 57 std::string getSourceLocation(uint64_t off) const;
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | Lexer.h | 299 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 D | PreprocessorLexer.h | 85 virtual SourceLocation getSourceLocation() = 0;
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/ |
| H A D | RecursiveSymbolVisitor.h | 53 if (!visit(FD, Initializer->getSourceLocation(), in VisitCXXConstructorDecl() 54 Lexer::getLocForEndOfToken(Initializer->getSourceLocation(), in VisitCXXConstructorDecl()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
| H A D | ImplicitCtorInitializer.cpp | 26 Match("initializer", Init->getSourceLocation()); in TraverseConstructorInitializer()
|
| /llvm-project-15.0.7/compiler-rt/lib/ubsan/ |
| H A D | ubsan_monitor.cpp | 65 SourceLocation SL = CurrentUBR->Loc.getSourceLocation(); in __ubsan_get_current_report_data()
|
| H A D | ubsan_diag.cpp | 85 SourceLocation SLoc = Loc.getSourceLocation(); in MaybeReportErrorSummary() 148 SourceLocation SLoc = Loc.getSourceLocation(); in RenderLocation()
|
| H A D | ubsan_diag.h | 81 SourceLocation getSourceLocation() const { in getSourceLocation() function
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | MoveConstructorInitCheck.cpp | 76 diag(Initializer->getSourceLocation(), in check()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A 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()
|
| H A D | CommentLexer.cpp | 263 Result.setLocation(getSourceLocation(BufferPtr)); in formTokenWithChars() 406 SourceLocation Loc = getSourceLocation(BufferPtr); in lexCommentText() 407 SourceLocation EndLoc = getSourceLocation(TokenPtr); in lexCommentText()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | Lexer.cpp | 1148 SourceLocation Lexer::getSourceLocation(const char *Loc, in getSourceLocation() function in Lexer 1168 return PP->Diag(getSourceLocation(Loc), DiagID); in Diag() 1508 return CharSourceRange::getCharRange(L.getSourceLocation(Begin), in makeCharRange() 1509 L.getSourceLocation(End)); in makeCharRange() 1946 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix() 1992 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " "); in LexUDSuffix() 2507 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipLineComment() 2845 PP->HandleComment(Result, SourceRange(getSourceLocation(BufferPtr), in SkipBlockComment() 2983 SourceLocation EndLoc = getSourceLocation(BufferEnd); in LexEndOfFile() 4060 getSourceLocation(CurPtr + SizeTmp, SizeTmp2), " "); in LexTokenInternal() [all …]
|
| H A D | PPLexerChange.cpp | 138 EnterLoc = PrevPPLexer->getSourceLocation(); in EnterSourceFileWithLexer() 499 SourceLocation Loc = CurPPLexer->getSourceLocation(); in HandleEndOfFile()
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | SymbolTable.cpp | 633 static std::string getSourceLocation(InputFile *file, SectionChunk *sc, in getSourceLocation() function 660 os << getSourceLocation(d->getFile(), d->getChunk(), d->getValue(), in reportDuplicate() 663 os << getSourceLocation(existing->getFile(), nullptr, 0, ""); in reportDuplicate() 665 os << getSourceLocation(newFile, newSc, newSectionOffset, in reportDuplicate()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | PassByValueCheck.cpp | 303 Result.SourceManager->getFileID(Initializer->getSourceLocation()), in check()
|
| H A D | UseDefaultMemberInitCheck.cpp | 294 diag(Init->getSourceLocation(), "member initializer for %0 is redundant") in checkExistingInit()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | OwningMemoryCheck.cpp | 270 diag(OwnerInitializer->getSourceLocation(), in handleAssignmentAndInit()
|
| H A D | PreferMemberInitializerCheck.cpp | 242 InsertPos = Init->getSourceLocation(); in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-reorder-fields/ |
| H A D | ReorderFieldsAction.cpp | 196 DiagEngine.Report(Initializer->getSourceLocation(), ID); in reorderFieldsInConstructor()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | CommentLexer.h | 308 SourceLocation getSourceLocation(const char *Loc) const { in getSourceLocation() function
|