Home
last modified time | relevance | path

Searched refs:RealDecl (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1777 llvm::DICompositeType *RealDecl = DBuilder.createStructType( in CreateTypeDefinition() local
1782 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition()
1785 LexicalBlockStack.emplace_back(RealDecl); in CreateTypeDefinition()
1786 RegionMap[Ty->getDecl()].reset(RealDecl); in CreateTypeDefinition()
1798 llvm::DIType *InhTag = DBuilder.createInheritance(RealDecl, SClassTy, 0, 0); in CreateTypeDefinition()
1916 DBuilder.replaceArrays(RealDecl, Elements); in CreateTypeDefinition()
1919 return RealDecl; in CreateTypeDefinition()
2360 llvm::DICompositeType *RealDecl = DBuilder.createReplaceableCompositeType( in CreateLimitedType() local
2364 RegionMap[Ty->getDecl()].reset(RealDecl); in CreateLimitedType()
2365 TypeCache[QualType(Ty, 0).getAsOpaquePtr()].reset(RealDecl); in CreateLimitedType()
[all …]
/external/clang/lib/Sema/
DSemaDecl.cpp9179 void Sema::AddInitializerToDecl(Decl *RealDecl, Expr *Init, in AddInitializerToDecl() argument
9183 if (!RealDecl || RealDecl->isInvalidDecl()) { in AddInitializerToDecl()
9184 CorrectDelayedTyposInExpr(Init, dyn_cast_or_null<VarDecl>(RealDecl)); in AddInitializerToDecl()
9188 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(RealDecl)) { in AddInitializerToDecl()
9196 VarDecl *VDecl = dyn_cast<VarDecl>(RealDecl); in AddInitializerToDecl()
9198 assert(!isa<FieldDecl>(RealDecl) && "field init shouldn't get here"); in AddInitializerToDecl()
9199 Diag(RealDecl->getLocation(), diag::err_illegal_initializer); in AddInitializerToDecl()
9200 RealDecl->setInvalidDecl(); in AddInitializerToDecl()
9211 RealDecl->setInvalidDecl(); in AddInitializerToDecl()
9220 RealDecl->setInvalidDecl(); in AddInitializerToDecl()
[all …]