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

References

tools/clang/include/clang/AST/Redeclarable.h
  351       : Ptr(Ptr ? Ptr->getCanonicalDecl() : nullptr) {}
tools/clang/lib/AST/Decl.cpp
 2095         !(getCanonicalDecl()->isInline() &&
 2096           getCanonicalDecl()->isConstexpr()) &&
tools/clang/lib/AST/Stmt.cpp
 1319     if (I.getCapturedVar()->getCanonicalDecl() == Var->getCanonicalDecl())
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1347   Var = Var->getCanonicalDecl();
 1368   StaticDataMemberCache[Var->getCanonicalDecl()].reset(GV);
 1438         auto MI = StaticDataMemberCache.find(V->getCanonicalDecl());
 3396       std::make_tuple(cast<VarDecl>(VD->getCanonicalDecl())),
 4343   auto MI = StaticDataMemberCache.find(D->getCanonicalDecl());
 4389   auto Cached = DeclCache.find(D->getCanonicalDecl());
 4440   DeclCache[D->getCanonicalDecl()].reset(GVE);
tools/clang/lib/CodeGen/CGExpr.cpp
 2565       VD = VD->getCanonicalDecl();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 2684                                  VD->getCanonicalDecl()->getBeginLoc(),
 2892   SourceLocation Loc = VD->getCanonicalDecl()->getBeginLoc();
 5984   D = D->getCanonicalDecl();
 5988       << D->getCanonicalDecl()->getBeginLoc().getRawEncoding();
10679     ParamPositions.try_emplace(P->getCanonicalDecl(), ParamPos);
10693                                 ->getCanonicalDecl();
10709                                 ->getCanonicalDecl();
10731                                 ->getCanonicalDecl();
10744                     ParamPositions[StridePVD->getCanonicalDecl()]);
10971   const VarDecl *CVD = VD->getCanonicalDecl();
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 4791   VD = VD->getCanonicalDecl();
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  126       EmittedAsPrivate.insert(VD->getCanonicalDecl());
  134         if (EmittedAsPrivate.insert(OrigVD->getCanonicalDecl()).second) {
  252       OrigVD = OrigVD->getCanonicalDecl();
  749           cast<VarDecl>(cast<DeclRefExpr>(D)->getDecl())->getCanonicalDecl());
  764           Lastprivates.count(OrigVD->getCanonicalDecl()) > 0;
  770         EmittedAsFirstprivate.insert(OrigVD->getCanonicalDecl());
  788       if (EmittedAsFirstprivate.insert(OrigVD->getCanonicalDecl()).second) {
  884       if (EmittedAsPrivate.insert(OrigVD->getCanonicalDecl()).second) {
  916       if (CopiedVars.insert(VD->getCanonicalDecl()).second) {
  979           cast<VarDecl>(cast<DeclRefExpr>(C)->getDecl())->getCanonicalDecl());
  996       if (AlreadyEmittedVars.insert(OrigVD->getCanonicalDecl()).second) {
 1009         if (IInit && !SIMDLCVs.count(OrigVD->getCanonicalDecl())) {
 1069       const auto *CanonicalVD = PrivateVD->getCanonicalDecl();
 1649           cast<VarDecl>(cast<DeclRefExpr>(C)->getDecl())->getCanonicalDecl());
 1658       if (!SIMDLCVs.count(VD->getCanonicalDecl())) {
 2914       if (EmittedAsPrivate.insert(OrigVD->getCanonicalDecl()).second) {
 2928       if (EmittedAsPrivate.insert(OrigVD->getCanonicalDecl()).second) {
 2944       if (EmittedAsPrivate.insert(OrigVD->getCanonicalDecl()).second) {
tools/clang/lib/CodeGen/CodeGenFunction.h
  378       return CaptureFields.lookup(VD->getCanonicalDecl());
  840       LocalVD = LocalVD->getCanonicalDecl();
  945       VD = VD->getCanonicalDecl();
tools/clang/lib/CodeGen/CodeGenModule.cpp
 3438           (D->getCanonicalDecl() != OtherGD.getCanonicalDecl().getDecl()) &&
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2564       UnorderedInits[CXXThreadLocalInitVars[I]->getCanonicalDecl()] =
 2651         InitFuncToUse = UnorderedInits.lookup(VD->getCanonicalDecl());
tools/clang/lib/Index/IndexDecl.cpp
  664       return VD->getCanonicalDecl() == VD;
tools/clang/lib/Sema/SemaOpenMP.cpp
  886     VD = VD->getCanonicalDecl();
 4756                     ->getCanonicalDecl() == PVD->getCanonicalDecl()) {
 4757           UniformedArgs.try_emplace(PVD->getCanonicalDecl(), E);
 4781         const VarDecl *CanonPVD = PVD->getCanonicalDecl();
 4851         const VarDecl *CanonPVD = PVD->getCanonicalDecl();
 4920         const VarDecl *CanonPVD = PVD->getCanonicalDecl();
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
  686     D = D->getCanonicalDecl();
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
 3046           if (D->getCanonicalDecl()->getName().find("std") != StringRef::npos)
tools/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp
  228   return !isPossiblyEscaped(CounterVar->getCanonicalDecl(), Pred);
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  847   D = D->getCanonicalDecl();
  934   D = D->getCanonicalDecl();
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  594     if (Var->getCanonicalDecl()->isStaticDataMember())