Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DRedundantMemberInitCheck.cpp60 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 DCopyConstructorInitCheck.cpp82 if (Init->getSourceLocation().isMacroID() || in check()
107 FixItLoc = (*Ctor->init_begin())->getSourceLocation(); in check()
/llvm-project-15.0.7/lld/MachO/
H A DSymbols.cpp103 std::string Defined::getSourceLocation() { in getSourceLocation() function in Defined
106 return isec->getSourceLocation(value); in getSourceLocation()
H A DSymbolTable.cpp86 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 DSymbols.h135 std::string getSourceLocation();
H A DInputSection.h57 std::string getSourceLocation(uint64_t off) const;
/llvm-project-15.0.7/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;
/llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h53 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 DImplicitCtorInitializer.cpp26 Match("initializer", Init->getSourceLocation()); in TraverseConstructorInitializer()
/llvm-project-15.0.7/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
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DMoveConstructorInitCheck.cpp76 diag(Initializer->getSourceLocation(), in check()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLexer.cpp1148 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 DPPLexerChange.cpp138 EnterLoc = PrevPPLexer->getSourceLocation(); in EnterSourceFileWithLexer()
499 SourceLocation Loc = CurPPLexer->getSourceLocation(); in HandleEndOfFile()
/llvm-project-15.0.7/lld/COFF/
H A DSymbolTable.cpp633 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 DPassByValueCheck.cpp303 Result.SourceManager->getFileID(Initializer->getSourceLocation()), in check()
H A DUseDefaultMemberInitCheck.cpp294 diag(Init->getSourceLocation(), "member initializer for %0 is redundant") in checkExistingInit()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DOwningMemoryCheck.cpp270 diag(OwnerInitializer->getSourceLocation(), in handleAssignmentAndInit()
H A DPreferMemberInitializerCheck.cpp242 InsertPos = Init->getSourceLocation(); in check()
/llvm-project-15.0.7/clang-tools-extra/clang-reorder-fields/
H A DReorderFieldsAction.cpp196 DiagEngine.Report(Initializer->getSourceLocation(), ID); in reorderFieldsInConstructor()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCommentLexer.h308 SourceLocation getSourceLocation(const char *Loc) const { in getSourceLocation() function

12