Searched refs:RealDecl (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 1077 llvm::MDNode *RealDecl = NULL; in CreateType() local 1080 RealDecl = DBuilder.createUnionType(RDContext, RDName, DefUnit, Line, in CreateType() 1103 RealDecl = DBuilder.createClassType(RDContext, RDName, DefUnit, Line, in CreateType() 1108 RealDecl = DBuilder.createStructType(RDContext, RDName, DefUnit, Line, in CreateType() 1113 llvm::DIType(FwdDeclNode).replaceAllUsesWith(RealDecl); in CreateType() 1114 RegionMap[RD] = llvm::WeakVH(RealDecl); in CreateType() 1115 return llvm::DIType(RealDecl); in CreateType() 1255 llvm::DIType RealDecl = in CreateType() local 1262 llvm::DIType(FwdDeclNode).replaceAllUsesWith(RealDecl); in CreateType() 1263 RegionMap[ID] = llvm::WeakVH(RealDecl); in CreateType() [all …]
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 5272 void Sema::AddInitializerToDecl(Decl *RealDecl, Expr *Init, in AddInitializerToDecl() argument 5276 if (RealDecl == 0 || RealDecl->isInvalidDecl()) in AddInitializerToDecl() 5280 if (VarDecl *vd = dyn_cast<VarDecl>(RealDecl)) { in AddInitializerToDecl() 5284 SelfReferenceChecker(*this, RealDecl).VisitExpr(Init); in AddInitializerToDecl() 5287 SelfReferenceChecker(*this, RealDecl).VisitExpr(Init); in AddInitializerToDecl() 5290 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(RealDecl)) { in AddInitializerToDecl() 5306 VarDecl *VDecl = dyn_cast<VarDecl>(RealDecl); in AddInitializerToDecl() 5308 assert(!isa<FieldDecl>(RealDecl) && "field init shouldn't get here"); in AddInitializerToDecl() 5309 Diag(RealDecl->getLocation(), diag::err_illegal_initializer); in AddInitializerToDecl() 5310 RealDecl->setInvalidDecl(); in AddInitializerToDecl() [all …]
|
D | SemaDeclCXX.cpp | 7381 void Sema::AddCXXDirectInitializerToDecl(Decl *RealDecl, in AddCXXDirectInitializerToDecl() argument 7390 if (RealDecl == 0) in AddCXXDirectInitializerToDecl() 7393 VarDecl *VDecl = dyn_cast<VarDecl>(RealDecl); in AddCXXDirectInitializerToDecl() 7395 Diag(RealDecl->getLocation(), diag::err_illegal_initializer); in AddCXXDirectInitializerToDecl() 7396 RealDecl->setInvalidDecl(); in AddCXXDirectInitializerToDecl() 7408 RealDecl->setInvalidDecl(); in AddCXXDirectInitializerToDecl() 7419 RealDecl->setInvalidDecl(); in AddCXXDirectInitializerToDecl()
|