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

References

tools/clang/lib/Sema/SemaExpr.cpp
16690   Var->setReferenced();
16692   if (Var->isInvalidDecl())
16695   auto *MSI = Var->getMemberSpecializationInfo();
16697                                        : Var->getTemplateSpecializationKind();
16701       Var->mightBeUsableInConstantExpressions(SemaRef.Context);
16715       dyn_cast<VarTemplateSpecializationDecl>(Var);
16716   assert(!isa<VarTemplatePartialSpecializationDecl>(Var) &&
16723       !isa<VarTemplateSpecializationDecl>(Var))
16724     SemaRef.checkSpecializationVisibility(Loc, Var);
16740           MSI ? MSI->getPointOfInstantiation() : Var->getPointOfInstantiation();
16747           Var->setTemplateSpecializationKind(TSK, PointOfInstantiation);
16762             SemaRef.InstantiateVariableDefinition(PointOfInstantiation, Var);
16765                    isa<VarTemplateSpecializationDecl>(Var)) {
16772               .push_back(std::make_pair(Var, PointOfInstantiation));
16818     if (E && Var->isUsableInConstantExpressions(SemaRef.Context))
16821       MarkVarDeclODRUsed(Var, Loc, SemaRef);
16830         (SemaRef.CurContext != Var->getDeclContext() &&
16831          Var->getDeclContext()->isFunctionOrMethod() && Var->hasLocalStorage());
16831          Var->getDeclContext()->isFunctionOrMethod() && Var->hasLocalStorage());
16836                   !LSI->CallOperator->Encloses(Var->getDeclContext()))) {
16848         if (!Var->getType()->isReferenceType() ||
16849             !Var->isUsableInConstantExpressions(SemaRef.Context))