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

Overrides

tools/clang/include/clang/AST/DeclBase.h
  877   virtual Decl *getCanonicalDecl() { return this; }
tools/clang/lib/AST/Decl.cpp
 3102 FunctionDecl *FunctionDecl::getCanonicalDecl() { return getFirstDecl(); }

Overridden By

tools/clang/include/clang/AST/DeclCXX.h
 2607   CXXConstructorDecl *getCanonicalDecl() override {
 2668   CXXDestructorDecl *getCanonicalDecl() override {
 2735   CXXConversionDecl *getCanonicalDecl() override {

References

tools/clang/include/clang/AST/DeclCXX.h
 1949     CXXMethodDecl *CD = const_cast<CXXMethodDecl*>(this)->getCanonicalDecl();
 1993     return const_cast<CXXMethodDecl*>(this)->getCanonicalDecl();
tools/clang/lib/AST/ASTImporter.cpp
 7770       ToMethod->getCanonicalDecl()->addOverriddenMethod(cast<CXXMethodDecl>(
 7771           (*ImportedOrErr)->getCanonicalDecl()));
tools/clang/lib/AST/CXXInheritance.cpp
  662     CXXMethodDecl *CanonM = M->getCanonicalDecl();
tools/clang/lib/Sema/SemaCodeComplete.cpp
 3971     if (Overridden->getCanonicalDecl() == Method->getCanonicalDecl())
tools/clang/lib/Sema/SemaDecl.cpp
 7869         MD->addOverriddenMethod(OldMD->getCanonicalDecl());
13901       if (MD->isOutOfLine() && (MD = MD->getCanonicalDecl()) &&
tools/clang/lib/Sema/SemaDeclCXX.cpp
 6834     MD->getCanonicalDecl()->getType()->castAs<FunctionProtoType>();
 6836     UpdateExceptionSpec(MD->getCanonicalDecl(), ESI);
 6861   bool First = MD == MD->getCanonicalDecl();
 8220         MD = MD->getCanonicalDecl();
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 1913         Reader.getContext().addOverriddenMethod(D, MD->getCanonicalDecl());
tools/lldb/source/Symbol/ClangASTContext.cpp
 4641                 method_iter->getCanonicalDecl();
tools/lldb/tools/lldb-instr/Instrument.cpp
  276     if (Decl == Decl->getCanonicalDecl())