• Home
  • Raw
  • Download

Lines Matching refs:VarDecl

589   if (const auto *Var = dyn_cast<VarDecl>(D)) {  in getLVForNamespaceScopeDecl()
600 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl()
610 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; in getLVForNamespaceScopeDecl()
629 const VarDecl *VD = IFD->getVarDecl(); in getLVForNamespaceScopeDecl()
636 const auto *Var = dyn_cast<VarDecl>(D); in getLVForNamespaceScopeDecl()
696 if (const auto *Var = dyn_cast<VarDecl>(D)) { in getLVForNamespaceScopeDecl()
858 isa<VarDecl>(D) || in getLVForClassMember()
950 } else if (const auto *VD = dyn_cast<VarDecl>(D)) { in getLVForClassMember()
1071 if (const auto *Var = dyn_cast<VarDecl>(ND)) { in getExplicitVisibilityAux()
1073 VarDecl *InstantiatedFrom = Var->getInstantiatedFromStaticDataMember(); in getExplicitVisibilityAux()
1155 if (const auto *Var = dyn_cast<VarDecl>(D)) { in getLVForLocalDecl()
1168 if (const VarDecl *Prev = Var->getPreviousDecl()) { in getLVForLocalDecl()
1767 const char *VarDecl::getStorageClassSpecifierString(StorageClass SC) { in getStorageClassSpecifierString()
1780 VarDecl::VarDecl(Kind DK, ASTContext &C, DeclContext *DC, in VarDecl() function in VarDecl
1797 VarDecl *VarDecl::Create(ASTContext &C, DeclContext *DC, in Create()
1801 return new (C, DC) VarDecl(Var, C, DC, StartL, IdL, Id, T, TInfo, S); in Create()
1804 VarDecl *VarDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
1806 VarDecl(Var, C, nullptr, SourceLocation(), SourceLocation(), nullptr, in CreateDeserialized()
1810 void VarDecl::setStorageClass(StorageClass SC) { in setStorageClass()
1815 VarDecl::TLSKind VarDecl::getTLSKind() const { in getTLSKind()
1837 SourceRange VarDecl::getSourceRange() const { in getSourceRange()
1889 LanguageLinkage VarDecl::getLanguageLinkage() const { in getLanguageLinkage()
1893 bool VarDecl::isExternC() const { in isExternC()
1897 bool VarDecl::isInExternCContext() const { in isInExternCContext()
1901 bool VarDecl::isInExternCXXContext() const { in isInExternCXXContext()
1905 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
1907 VarDecl::DefinitionKind
1908 VarDecl::isThisDeclarationADefinition(ASTContext &C) const { in isThisDeclarationADefinition()
1982 VarDecl *VarDecl::getActingDefinition() { in getActingDefinition()
1987 VarDecl *LastTentative = nullptr; in getActingDefinition()
1988 VarDecl *First = getFirstDecl(); in getActingDefinition()
1999 VarDecl *VarDecl::getDefinition(ASTContext &C) { in getDefinition()
2000 VarDecl *First = getFirstDecl(); in getDefinition()
2008 VarDecl::DefinitionKind VarDecl::hasDefinition(ASTContext &C) const { in hasDefinition()
2011 const VarDecl *First = getFirstDecl(); in hasDefinition()
2021 const Expr *VarDecl::getAnyInitializer(const VarDecl *&D) const { in getAnyInitializer()
2031 bool VarDecl::isOutOfLine() const { in isOutOfLine()
2041 if (VarDecl *VD = getInstantiatedFromStaticDataMember()) in isOutOfLine()
2047 VarDecl *VarDecl::getOutOfLineDefinition() { in getOutOfLineDefinition()
2059 void VarDecl::setInit(Expr *I) { in setInit()
2068 bool VarDecl::isUsableInConstantExpressions(ASTContext &C) const { in isUsableInConstantExpressions()
2098 EvaluatedStmt *VarDecl::ensureEvaluatedStmt() const { in ensureEvaluatedStmt()
2113 APValue *VarDecl::evaluateValue() const { in evaluateValue()
2125 APValue *VarDecl::evaluateValue( in evaluateValue()
2171 bool VarDecl::checkInitIsICE() const { in checkInitIsICE()
2207 VarDecl *VarDecl::getInstantiatedFromStaticDataMember() const { in getInstantiatedFromStaticDataMember()
2209 return cast<VarDecl>(MSI->getInstantiatedFrom()); in getInstantiatedFromStaticDataMember()
2214 TemplateSpecializationKind VarDecl::getTemplateSpecializationKind() const { in getTemplateSpecializationKind()
2224 SourceLocation VarDecl::getPointOfInstantiation() const { in getPointOfInstantiation()
2234 VarTemplateDecl *VarDecl::getDescribedVarTemplate() const { in getDescribedVarTemplate()
2239 void VarDecl::setDescribedVarTemplate(VarTemplateDecl *Template) { in setDescribedVarTemplate()
2243 MemberSpecializationInfo *VarDecl::getMemberSpecializationInfo() const { in getMemberSpecializationInfo()
2252 void VarDecl::setTemplateSpecializationKind(TemplateSpecializationKind TSK, in setTemplateSpecializationKind()
2275 VarDecl::setInstantiationOfStaticDataMember(VarDecl *VD, in setInstantiationOfStaticDataMember()
3774 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable()