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

References

tools/clang/lib/Serialization/ASTReaderDecl.cpp
 1361   RedeclarableResult Redecl = VisitRedeclarable(VD);
 1362   VisitDeclaratorDecl(VD);
 1364   VD->VarDeclBits.SClass = (StorageClass)Record.readInt();
 1365   VD->VarDeclBits.TSCSpec = Record.readInt();
 1366   VD->VarDeclBits.InitStyle = Record.readInt();
 1367   VD->VarDeclBits.ARCPseudoStrong = Record.readInt();
 1368   if (!isa<ParmVarDecl>(VD)) {
 1369     VD->NonParmVarDeclBits.IsThisDeclarationADemotedDefinition =
 1371     VD->NonParmVarDeclBits.ExceptionVar = Record.readInt();
 1372     VD->NonParmVarDeclBits.NRVOVariable = Record.readInt();
 1373     VD->NonParmVarDeclBits.CXXForRangeDecl = Record.readInt();
 1374     VD->NonParmVarDeclBits.ObjCForDecl = Record.readInt();
 1375     VD->NonParmVarDeclBits.IsInline = Record.readInt();
 1376     VD->NonParmVarDeclBits.IsInlineSpecified = Record.readInt();
 1377     VD->NonParmVarDeclBits.IsConstexpr = Record.readInt();
 1378     VD->NonParmVarDeclBits.IsInitCapture = Record.readInt();
 1379     VD->NonParmVarDeclBits.PreviousDeclInSameBlockScope = Record.readInt();
 1380     VD->NonParmVarDeclBits.ImplicitParamKind = Record.readInt();
 1381     VD->NonParmVarDeclBits.EscapingByref = Record.readInt();
 1384   VD->setCachedLinkage(VarLinkage);
 1387   if (VD->getStorageClass() == SC_Extern && VarLinkage != NoLinkage &&
 1388       VD->getLexicalDeclContext()->isFunctionOrMethod())
 1389     VD->setLocalExternDecl();
 1392     VD->setInit(Record.readExpr());
 1394       EvaluatedStmt *Eval = VD->ensureEvaluatedStmt();
 1401   if (VD->hasAttr<BlocksAttr>() && VD->getType()->getAsCXXRecordDecl()) {
 1401   if (VD->hasAttr<BlocksAttr>() && VD->getType()->getAsCXXRecordDecl()) {
 1404       Reader.getContext().setBlockVarCopyInit(VD, CopyExpr, Record.readInt());
 1407   if (VD->getStorageDuration() == SD_Static && Record.readInt())
 1408     Reader.DefinitionSource[VD] = Loc.F->Kind == ModuleKind::MK_MainFile;
 1417     if (!isa<ParmVarDecl>(VD) && !isa<ImplicitParamDecl>(VD) &&
 1417     if (!isa<ParmVarDecl>(VD) && !isa<ImplicitParamDecl>(VD) &&
 1418         !isa<VarTemplateSpecializationDecl>(VD))
 1419       mergeRedeclarable(VD, Redecl);
 1423     VD->setDescribedVarTemplate(ReadDeclAs<VarTemplateDecl>());
 1429     Reader.getContext().setInstantiatedFromStaticDataMember(VD, Tmpl, TSK,POI);
 1430     mergeRedeclarable(VD, Redecl);