Lines Matching refs:VD
56 if (const VarDecl *VD = dyn_cast<VarDecl>(ND)) { in WriteNamedDecl() local
57 if (const auto *Parent = VD->getParentFunctionOrMethod()) in WriteNamedDecl()
61 if ((VD->getStorageClass() == StorageClass::SC_Extern) || in WriteNamedDecl()
62 (VD->getStorageClass() == StorageClass::SC_Static && in WriteNamedDecl()
63 VD->getParentFunctionOrMethod() == nullptr)) in WriteNamedDecl()
85 if (const VarDecl *VD = dyn_cast<VarDecl>(ND)) in WriteNamedDecl() local
87 dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod())) in WriteNamedDecl()
213 const auto *VD = cast<VarDecl>(ND); in HandleNamedDecl() local
215 if (VD->isTemplated() || VD->getType()->isDependentType()) in HandleNamedDecl()
252 if (const auto *VD = dyn_cast<ValueDecl>(ND)) { in HandleTranslationUnit() local
253 ValueDecls.insert(VD); in HandleTranslationUnit()
312 auto VD = cast<ValueDecl>(E.first)->getType(); in HandleTranslationUnit() local
314 << context.getTypeSizeInChars(VD).getQuantity(); in HandleTranslationUnit()