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; }

Declarations

tools/clang/include/clang/AST/Decl.h
 1155   VarDecl *getCanonicalDecl() override;

References

tools/clang/include/clang/AST/Decl.h
 1157     return const_cast<VarDecl*>(this)->getCanonicalDecl();
tools/clang/include/clang/AST/Redeclarable.h
  351       : Ptr(Ptr ? Ptr->getCanonicalDecl() : nullptr) {}
tools/clang/lib/AST/DeclTemplate.cpp
 1080   Decl *DCanon = D->getCanonicalDecl();
 1082     if (P.getInstantiatedFromMember()->getCanonicalDecl() == DCanon)
tools/clang/lib/AST/Stmt.cpp
 1319     if (I.getCapturedVar()->getCanonicalDecl() == Var->getCanonicalDecl())
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 8266                               : Cap->getCapturedVar()->getCanonicalDecl();
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 4804               ->getCanonicalDecl());
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
   71         assert(VD == VD->getCanonicalDecl() &&
  224           assert(VD == VD->getCanonicalDecl() &&
 1053           cast<VarDecl>(cast<DeclRefExpr>(*IC)->getDecl())->getCanonicalDecl();
tools/clang/lib/CodeGen/CodeGenFunction.h
  362           CaptureFields[I->getCapturedVar()->getCanonicalDecl()] = *Field;
  364           CaptureFields[I->getCapturedVar()->getCanonicalDecl()] = *Field;
tools/clang/lib/Sema/SemaDecl.cpp
 4084   else if (New->getCanonicalDecl()->getStorageClass() != SC_Static &&
 4086            Old->getCanonicalDecl()->getStorageClass() == SC_Static) {
 4136     UndefinedButUsed.insert(std::make_pair(Old->getCanonicalDecl(),
 4160     if (Old->isStaticDataMember() && Old->getCanonicalDecl()->isInline() &&
 4161         Old->getCanonicalDecl()->isConstexpr()) {
 7275         ShadowingDecls.insert({PVD->getCanonicalDecl(), FD});
11645     if (VDecl->isStaticDataMember() && VDecl->getCanonicalDecl()->hasInit()) {
11648       Diag(VDecl->getCanonicalDecl()->getInit()->getExprLoc(),
tools/clang/lib/Sema/SemaExpr.cpp
15633     SourceLocation &old = SemaRef.UndefinedButUsed[Var->getCanonicalDecl()];
16056   Var = Var->getCanonicalDecl();
tools/clang/lib/Sema/SemaOpenMP.cpp
 1228   D = D->getCanonicalDecl();
 2303   VarDecl *CanonicalVD = VD->getCanonicalDecl();
 2801       VD = VD->getCanonicalDecl();
 4756                     ->getCanonicalDecl() == PVD->getCanonicalDecl()) {
 4784                     ->getCanonicalDecl() == CanonPVD) {
 4854                     ->getCanonicalDecl() == CanonPVD) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 5190   Pattern = Pattern->getCanonicalDecl();
 5193     Instance = Instance->getCanonicalDecl();
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 2401     D->First = FirstDecl->getCanonicalDecl();
 2497   T *ExistingCanon = Existing->getCanonicalDecl();
 2498   T *DCanon = D->getCanonicalDecl();
tools/clang/unittests/AST/ASTImporterTest.cpp
 1928   EXPECT_EQ(Imported1->getCanonicalDecl(), Imported2->getCanonicalDecl());
 1928   EXPECT_EQ(Imported1->getCanonicalDecl(), Imported2->getCanonicalDecl());