Searched refs:RealDecl (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 1903 llvm::DICompositeType *RealDecl = DBuilder.createStructType( in CreateTypeDefinition() local 1908 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition() 1911 LexicalBlockStack.emplace_back(RealDecl); in CreateTypeDefinition() 1912 RegionMap[Ty->getDecl()].reset(RealDecl); in CreateTypeDefinition() 1924 llvm::DIType *InhTag = DBuilder.createInheritance(RealDecl, SClassTy, 0, 0); in CreateTypeDefinition() 2042 DBuilder.replaceArrays(RealDecl, Elements); in CreateTypeDefinition() 2045 return RealDecl; in CreateTypeDefinition() 2531 llvm::DICompositeType *RealDecl = DBuilder.createReplaceableCompositeType( in CreateLimitedType() local 2537 switch (RealDecl->getTag()) { in CreateLimitedType() 2554 RealDecl = in CreateLimitedType() [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 2635 llvm::DICompositeType *RealDecl = DBuilder.createStructType( in CreateTypeDefinition() local 2640 TypeCache[QTy.getAsOpaquePtr()].reset(RealDecl); in CreateTypeDefinition() 2643 LexicalBlockStack.emplace_back(RealDecl); in CreateTypeDefinition() 2644 RegionMap[Ty->getDecl()].reset(RealDecl); in CreateTypeDefinition() 2656 llvm::DIType *InhTag = DBuilder.createInheritance(RealDecl, SClassTy, 0, 0, in CreateTypeDefinition() 2777 DBuilder.replaceArrays(RealDecl, Elements); in CreateTypeDefinition() 2780 return RealDecl; in CreateTypeDefinition() 3380 llvm::DICompositeType *RealDecl = DBuilder.createReplaceableCompositeType( in CreateLimitedType() local 3386 switch (RealDecl->getTag()) { in CreateLimitedType() 3404 RealDecl = in CreateLimitedType() [all …]
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 9514 void Sema::AddInitializerToDecl(Decl *RealDecl, Expr *Init, in AddInitializerToDecl() argument 9518 if (!RealDecl || RealDecl->isInvalidDecl()) { in AddInitializerToDecl() 9519 CorrectDelayedTyposInExpr(Init, dyn_cast_or_null<VarDecl>(RealDecl)); in AddInitializerToDecl() 9523 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(RealDecl)) { in AddInitializerToDecl() 9531 VarDecl *VDecl = dyn_cast<VarDecl>(RealDecl); in AddInitializerToDecl() 9533 assert(!isa<FieldDecl>(RealDecl) && "field init shouldn't get here"); in AddInitializerToDecl() 9534 Diag(RealDecl->getLocation(), diag::err_illegal_initializer); in AddInitializerToDecl() 9535 RealDecl->setInvalidDecl(); in AddInitializerToDecl() 9546 RealDecl->setInvalidDecl(); in AddInitializerToDecl() 9555 RealDecl->setInvalidDecl(); in AddInitializerToDecl() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDecl.cpp | 11978 void Sema::AddInitializerToDecl(Decl *RealDecl, Expr *Init, bool DirectInit) { in AddInitializerToDecl() argument 11981 if (!RealDecl || RealDecl->isInvalidDecl()) { in AddInitializerToDecl() 11982 CorrectDelayedTyposInExpr(Init, dyn_cast_or_null<VarDecl>(RealDecl)); in AddInitializerToDecl() 11986 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(RealDecl)) { in AddInitializerToDecl() 11994 VarDecl *VDecl = dyn_cast<VarDecl>(RealDecl); in AddInitializerToDecl() 11996 assert(!isa<FieldDecl>(RealDecl) && "field init shouldn't get here"); in AddInitializerToDecl() 11997 Diag(RealDecl->getLocation(), diag::err_illegal_initializer); in AddInitializerToDecl() 11998 RealDecl->setInvalidDecl(); in AddInitializerToDecl() 12011 RealDecl->setInvalidDecl(); in AddInitializerToDecl() 12016 RealDecl->setInvalidDecl(); in AddInitializerToDecl() [all …]
|