reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/DeclCXX.h
 2298   SourceLocation getSourceLocation() const;

References

tools/clang/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h
   53         if (!visit(FD, Initializer->getSourceLocation(),
   54                    Lexer::getLocForEndOfToken(Initializer->getSourceLocation(),
tools/clang/lib/AST/DeclCXX.cpp
 2428   return SourceRange(getSourceLocation(), getRParenLoc());
tools/clang/lib/Analysis/PathDiagnostic.cpp
  677     return PathDiagnosticLocation(PIP->getInitializer()->getSourceLocation(),
tools/clang/lib/CodeGen/CGClass.cpp
  611   ApplyDebugLocation Loc(CGF, MemberInit->getSourceLocation());
tools/clang/lib/Sema/SemaDeclCXX.cpp
 4932     MarkFunctionReferenced(Initializer->getSourceLocation(), Dtor);
 4933     DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation());
 5015         Diag(Value->getSourceLocation(), diag::warn_abstract_vbase_init_ignored)
 5155                                  Init->getSourceLocation())) {
 5208         SemaRef.Diag(PrevInit->getSourceLocation(),
 5244     S.Diag(Init->getSourceLocation(),
 5251     S.Diag(Init->getSourceLocation(),
 5256   S.Diag(PrevInit->getSourceLocation(), diag::note_previous_initializer)
 5276         S.Diag(Init->getSourceLocation(),
 5280         S.Diag(En.second->getSourceLocation(), diag::note_previous_initializer)
 5346         Diag(Init->getSourceLocation(),
15878       S.Diag((*Ctor->init_begin())->getSourceLocation(),
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 4970                                               Init->getSourceLocation(),
 5005                                         Init->getSourceLocation(),
 5031                                        Init->getSourceLocation());
 5045                                        Init->getSourceLocation());
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
  823                                 BMI->getSourceLocation(),
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  237           auto Loc = Initializer->getSourceLocation();
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp
  194         DiagEngine.Report(Initializer->getSourceLocation(), ID);
tools/clang/tools/extra/clang-tidy/bugprone/CopyConstructorInitCheck.cpp
   85       if (Init->getSourceLocation().isMacroID() ||
  110     FixItLoc = (*Ctor->init_begin())->getSourceLocation();
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp
  277     diag(OwnerInitializer->getSourceLocation(),
tools/clang/tools/extra/clang-tidy/modernize/PassByValueCheck.cpp
  226           Result.SourceManager->getFileID(Initializer->getSourceLocation()),
tools/clang/tools/extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
  284   diag(Init->getSourceLocation(), "member initializer for %0 is redundant")
tools/clang/tools/extra/clang-tidy/performance/MoveConstructorInitCheck.cpp
   84     diag(Initializer->getSourceLocation(),
tools/clang/tools/extra/clang-tidy/readability/RedundantMemberInitCheck.cpp
   54       diag(Init->getSourceLocation(), "initializer for member %0 is redundant")
   58       diag(Init->getSourceLocation(),
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
  253       addToken(CI->getSourceLocation(), FD);
tools/clang/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp
   26     Match("initializer", Init->getSourceLocation());