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

References

tools/clang/lib/AST/ExprConstant.cpp
 2828   if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(VD)) {
 2843     Result = LVal ? Frame->getTemporary(VD, LVal->getLValueVersion())
 2844                   : Frame->getCurrentTemporary(VD);
 2851              (VD->getDeclContext() != Frame->Callee || VD->isInitCapture()) &&
 2851              (VD->getDeclContext() != Frame->Callee || VD->isInitCapture()) &&
 2865   const Expr *Init = VD->getAnyInitializer(VD);
 2865   const Expr *Init = VD->getAnyInitializer(VD);
 2876   if (Info.EvaluatingDecl.dyn_cast<const ValueDecl*>() == VD) {
 2883   if (VD->isWeak()) {
 2891   if (!VD->evaluateValue(Notes)) {
 2893               Notes.size() + 1) << VD;
 2894     Info.Note(VD->getLocation(), diag::note_declared_at);
 2897   } else if (!VD->checkInitIsICE()) {
 2899                  Notes.size() + 1) << VD;
 2900     Info.Note(VD->getLocation(), diag::note_declared_at);
 2904   Result = VD->getEvaluatedValue();