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

References

tools/clang/lib/Serialization/ASTWriterDecl.cpp
 1058   VisitVarDecl(D);
 1059   Record.push_back(D->isObjCMethodParameter());
 1060   Record.push_back(D->getFunctionScopeDepth());
 1061   Record.push_back(D->getFunctionScopeIndex());
 1062   Record.push_back(D->getObjCDeclQualifier()); // FIXME: stable encoding
 1063   Record.push_back(D->isKNRPromoted());
 1064   Record.push_back(D->hasInheritedDefaultArg());
 1065   Record.push_back(D->hasUninstantiatedDefaultArg());
 1066   if (D->hasUninstantiatedDefaultArg())
 1067     Record.AddStmt(D->getUninstantiatedDefaultArg());
 1070   assert(!D->isARCPseudoStrong()); // can be true of ImplicitParamDecl
 1075   if (D->getDeclContext() == D->getLexicalDeclContext() &&
 1075   if (D->getDeclContext() == D->getLexicalDeclContext() &&
 1076       !D->hasAttrs() &&
 1077       !D->hasExtInfo() &&
 1078       !D->isImplicit() &&
 1079       !D->isUsed(false) &&
 1080       !D->isInvalidDecl() &&
 1081       !D->isReferenced() &&
 1082       D->getAccess() == AS_none &&
 1083       !D->isModulePrivate() &&
 1084       D->getStorageClass() == 0 &&
 1085       D->getInitStyle() == VarDecl::CInit && // Can params have anything else?
 1086       D->getFunctionScopeDepth() == 0 &&
 1087       D->getObjCDeclQualifier() == 0 &&
 1088       !D->isKNRPromoted() &&
 1089       !D->hasInheritedDefaultArg() &&
 1090       D->getInit() == nullptr &&
 1091       !D->hasUninstantiatedDefaultArg())  // No default expr.
 1096   assert(!D->getTSCSpec() && "PARM_VAR_DECL can't use TLS");
 1097   assert(!D->isThisDeclarationADemotedDefinition()
 1099   assert(D->getAccess() == AS_none && "PARM_VAR_DECL can't be public/private");
 1100   assert(!D->isExceptionVariable() && "PARM_VAR_DECL can't be exception var");
 1101   assert(D->getPreviousDecl() == nullptr && "PARM_VAR_DECL can't be redecl");
 1102   assert(!D->isStaticDataMember() &&