reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3029 if (D->hasExternalLexicalStorage() && !D->getDefinition()) 3029 if (D->hasExternalLexicalStorage() && !D->getDefinition()) 3030 getExternalSource()->CompleteType(const_cast<RecordDecl*>(D)); 3032 D = D->getDefinition(); 3032 D = D->getDefinition(); 3033 assert(D && "Cannot get layout of forward declarations!"); 3034 assert(!D->isInvalidDecl() && "Cannot get layout of invalid decl!"); 3035 assert(D->isCompleteDefinition() && "Cannot layout type before complete!"); 3040 const ASTRecordLayout *Entry = ASTRecordLayouts[D]; 3047 if (const auto *RD = dyn_cast<CXXRecordDecl>(D)) { 3059 Builder.layout(D); 3066 if (const auto *RD = dyn_cast<CXXRecordDecl>(D)) { 3093 Builder.Layout(D); 3102 ASTRecordLayouts[D] = NewEntry; 3106 DumpRecordLayout(D, llvm::outs(), getLangOpts().DumpRecordLayoutsSimple);