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

References

tools/clang/include/clang/AST/ASTContext.h
  991         MergedDefModules.find(cast<NamedDecl>(Def->getCanonicalDecl()));
tools/clang/include/clang/AST/DeclBase.h
  883   bool isCanonicalDecl() const { return getCanonicalDecl() == this; }
 1173   return D1->getCanonicalDecl() == D2->getCanonicalDecl();
 1173   return D1->getCanonicalDecl() == D2->getCanonicalDecl();
tools/clang/include/clang/AST/GlobalDecl.h
   70     CanonGD.Value.setPointer(Value.getPointer()->getCanonicalDecl());
tools/clang/include/clang/AST/VTableBuilder.h
  330     const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl());
tools/clang/include/clang/Serialization/ASTReader.h
 1249     D = D->getCanonicalDecl();
tools/clang/lib/AST/ASTContext.cpp
  387   const Decl *CanonicalD = D->getCanonicalDecl();
  440   const Decl *const CanonicalDecl = OriginalD.getCanonicalDecl();
  503       ParsedComments[D->getCanonicalDecl()] = FC;
  535   const Decl *Canonical = D->getCanonicalDecl();
tools/clang/lib/AST/Decl.cpp
  607                                   cast<NamedDecl>(D->getCanonicalDecl())))
  637   if (getStorageClass(D->getCanonicalDecl()) == SC_Static) {
 1735     if (getCanonicalDecl() != OldD->getCanonicalDecl())
tools/clang/lib/AST/DeclBase.cpp
  399   const Decl *CanonD = getCanonicalDecl();
  410   return getMostRecentDecl()->getCanonicalDecl()->Used;
tools/clang/lib/AST/ExprConstant.cpp
 1717     if (LHS.getDecl()->getCanonicalDecl() != RHS.getDecl()->getCanonicalDecl())
 1717     if (LHS.getDecl()->getCanonicalDecl() != RHS.getDecl()->getCanonicalDecl())
 1955     if (!BDecl || ADecl->getCanonicalDecl() != BDecl->getCanonicalDecl())
 1955     if (!BDecl || ADecl->getCanonicalDecl() != BDecl->getCanonicalDecl())
tools/clang/lib/AST/ItaniumMangle.cpp
  292       ND = cast<NamedDecl>(ND->getCanonicalDecl());
  443     ND = cast<NamedDecl>(ND->getCanonicalDecl());
 4672   ND = cast<NamedDecl>(ND->getCanonicalDecl());
tools/clang/lib/AST/ODRHash.cpp
  627   D = D->getCanonicalDecl();
tools/clang/lib/AST/OpenMPClause.cpp
  891     const ValueDecl *VD = D ? cast<ValueDecl>(D->getCanonicalDecl()) : nullptr;
tools/clang/lib/AST/StmtProfile.cpp
  132       ID.AddPointer(D ? D->getCanonicalDecl() : nullptr);
tools/clang/lib/Analysis/CloneDetection.cpp
  551     if (auto VD = dyn_cast<VarDecl>(D->getDecl()->getCanonicalDecl()))
tools/clang/lib/Analysis/ThreadSafety.cpp
 1707     const auto *VD = dyn_cast<VarDecl>(DRE->getDecl()->getCanonicalDecl());
tools/clang/lib/Analysis/ThreadSafetyCommon.cpp
  275   const auto *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl());
  282       const Decl *Canonical = Ctx->AttrDecl->getCanonicalDecl();
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 3409   auto I = DeclCache.find(D->getCanonicalDecl());
 3620     DeclCache[D->getCanonicalDecl()].reset(SP);
 4483   VD = cast<ValueDecl>(VD->getCanonicalDecl());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 7932           D ? cast<ValueDecl>(D->getCanonicalDecl()) : nullptr;
 7970         VD = cast<ValueDecl>(VD->getCanonicalDecl());
 8113           D ? cast<ValueDecl>(D->getCanonicalDecl()) : nullptr;
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  223     return cast<ValueDecl>(DE->getDecl()->getCanonicalDecl());
  325     VD = cast<ValueDecl>(VD->getCanonicalDecl());
  408                   cast<DeclRefExpr>(E)->getDecl()->getCanonicalDecl();
  409               if (D == VD->getCanonicalDecl()) {
tools/clang/lib/Index/IndexingContext.cpp
  293   D = D->getCanonicalDecl();
  441                                Rel.RelatedSymbol->getCanonicalDecl()));
tools/clang/lib/Index/USRGeneration.cpp
  611   D = D->getCanonicalDecl();
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  194         CE->getCalleeDecl()->getCanonicalDecl() != FD)
tools/clang/lib/Sema/SemaChecking.cpp
14160     if (LHSDeclRef->getDecl()->getCanonicalDecl() !=
14161         RHSDeclRef->getDecl()->getCanonicalDecl())
14197     if (LHSDeclRef->getDecl()->getCanonicalDecl() !=
14198         RHSDeclRef->getDecl()->getCanonicalDecl())
tools/clang/lib/Sema/SemaCodeComplete.cpp
  336   void Ignore(const Decl *D) { AllDeclsFound.insert(D->getCanonicalDecl()); }
 1074   const Decl *CanonDecl = R.Declaration->getCanonicalDecl();
 1096     if (ND->getCanonicalDecl() == CanonDecl) {
 1259   if (!AllDeclsFound.insert(R.Declaration->getCanonicalDecl()).second)
 2981   Template = cast<TemplateDecl>(Template->getCanonicalDecl());
tools/clang/lib/Sema/SemaExpr.cpp
  184   S.Diag(D->getCanonicalDecl()->getLocation(), diag::note_entity_declared_at)
12661     cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl());
12663     cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl());
tools/clang/lib/Sema/SemaOpenMP.cpp
  374         D ? D->getCanonicalDecl() : D;
 1727   D = cast<ValueDecl>(D->getCanonicalDecl());
 2005     if ((DSAStack->getPossiblyLoopCunter() == D->getCanonicalDecl() ||
 3009                   CCD = CCD ? CCD->getCanonicalDecl() : nullptr;
 3010                   SCD = SCD ? SCD->getCanonicalDecl() : nullptr;
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  245       Template = Template->getCanonicalDecl();
 1706   const Decl *Canon = D->getCanonicalDecl();
tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
  397     PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl());
  601     markInvalidated(cast<ObjCIvarDecl>(D->getCanonicalDecl()));
  621       PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl());
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
  191   return RuntimeCallee->getCanonicalDecl() != StaticDecl->getCanonicalDecl();
  191   return RuntimeCallee->getCanonicalDecl() != StaticDecl->getCanonicalDecl();
tools/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp
  179         if (D->getCanonicalDecl() == VD)
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  588                                                  : Callee->getCanonicalDecl());
tools/clang/tools/extra/clang-move/HelperDeclRefGraph.cpp
   67   auto I = DeclMap.find(D->getCanonicalDecl());
  122         getOutmostClassOrFunDecl(DC->getCanonicalDecl()),
  123         getOutmostClassOrFunDecl(FuncRef->getDecl()->getCanonicalDecl()));
  131     RG->addEdge(getOutmostClassOrFunDecl(DC->getCanonicalDecl()), UsedClass);
tools/clang/tools/extra/clang-move/Move.cpp
  739               D->getCanonicalDecl()))) {
  818             D->getCanonicalDecl())))
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
  188       return DestDRE->getDecl()->getCanonicalDecl() ==
  189              SrcDRE->getDecl()->getCanonicalDecl();
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
  165     if (Context.UsingTargetDecls.count(D->getCanonicalDecl()) > 0)
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.cpp
  205          First->getCanonicalDecl() == Second->getCanonicalDecl();
  205          First->getCanonicalDecl() == Second->getCanonicalDecl();
tools/clang/tools/extra/clangd/XRefs.cpp
  360       CanonicalTargets.insert(D->getCanonicalDecl());
tools/clang/tools/extra/clangd/refactor/Rename.cpp
  178           renamableWithinFile(*RenameDecl->getCanonicalDecl(), File, Index))
tools/clang/tools/extra/clangd/refactor/tweaks/DefineInline.cpp
  111     const Decl *D = DR->getCanonicalDecl();
tools/clang/tools/extra/unittests/clang-tidy/OverlappingReplacementsTest.cpp
   93           if (VD->getCanonicalDecl() == D->getCanonicalDecl()) {
   93           if (VD->getCanonicalDecl() == D->getCanonicalDecl()) {
tools/clang/tools/libclang/CIndex.cpp
 6477     return MakeCXCursor(D->getCanonicalDecl(), getCursorTU(C));
tools/clang/tools/libclang/CIndexHigh.cpp
   34     Methods.push_back(D->getCanonicalDecl());
   82     D = D->getCanonicalDecl();
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
 1033   D = cast<NamedDecl>(D->getCanonicalDecl());