Lines Matching refs:VD
57 if (const VarDecl *VD = dyn_cast<VarDecl>(ND)) { in WriteNamedDecl() local
58 if (const auto *Parent = VD->getParentFunctionOrMethod()) in WriteNamedDecl()
62 if ((VD->getStorageClass() == StorageClass::SC_Extern) || in WriteNamedDecl()
63 (VD->getStorageClass() == StorageClass::SC_Static && in WriteNamedDecl()
64 VD->getParentFunctionOrMethod() == nullptr)) in WriteNamedDecl()
86 if (const VarDecl *VD = dyn_cast<VarDecl>(ND)) in WriteNamedDecl() local
88 dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod())) in WriteNamedDecl()
214 const auto *VD = cast<VarDecl>(ND); in HandleNamedDecl() local
216 if (VD->isTemplated() || VD->getType()->isDependentType()) in HandleNamedDecl()
253 if (const auto *VD = dyn_cast<ValueDecl>(ND)) { in HandleTranslationUnit() local
254 ValueDecls.insert(VD); in HandleTranslationUnit()
313 auto VD = cast<ValueDecl>(E.first)->getType(); in HandleTranslationUnit() local
315 << context.getTypeSizeInChars(VD).getQuantity(); in HandleTranslationUnit()