Searched refs:ParentDecl (Results 1 – 9 of 9) sorted by relevance
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
D | Extract.cpp | 100 const Decl *ParentDecl = Code.getFunctionLikeNearestParent(); in createSourceReplacements() local 101 assert(ParentDecl && "missing parent"); in createSourceReplacements() 137 computeFunctionExtractionLocation(ParentDecl); in createSourceReplacements()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | ForwardDeclarationNamespaceCheck.cpp | 104 const auto *ParentDecl = Decl->getLexicalParent(); in getNameOfNamespace() local 105 if (ParentDecl->getDeclKind() == Decl::TranslationUnit) { in getNameOfNamespace() 108 const auto *NsDecl = cast<NamespaceDecl>(ParentDecl); in getNameOfNamespace()
|
/external/llvm-project/clang/lib/Frontend/ |
D | InterfaceStubFunctionsConsumer.cpp | 114 const NamedDecl *ParentDecl = getParentFunctionDecl(ND); in WriteNamedDecl() local 115 if ((ParentDecl && ignoreDecl(ParentDecl)) || ignoreDecl(ND)) in WriteNamedDecl() 132 MangledSymbol(getMangledNames(ParentDecl).front(), in WriteNamedDecl()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | XRefs.cpp | 1484 for (const CXXRecordDecl *ParentDecl : typeParents(&CXXRD)) { in fillSuperTypes() local 1486 declToTypeHierarchyItem(*ParentDecl)) { in fillSuperTypes() 1488 fillSuperTypes(*ParentDecl, ASTCtx, *ParentSym->parents, RPSet); in fillSuperTypes() 1561 const CXXRecordDecl *ParentDecl = nullptr; in typeParents() local 1565 ParentDecl = RT->getAsCXXRecordDecl(); in typeParents() 1568 if (!ParentDecl) { in typeParents() 1575 ParentDecl = dyn_cast<CXXRecordDecl>(TD->getTemplatedDecl()); in typeParents() 1580 if (ParentDecl) in typeParents() 1581 Result.push_back(ParentDecl); in typeParents()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 6496 const Decl *ParentDecl); 6499 const Decl *ParentDecl); 6591 const Decl *ParentDecl) { in EvalAddr() argument 6621 return EvalAddr(V->getInit(), refVars, ParentDecl); in EvalAddr() 6633 return EvalVal(U->getSubExpr(), refVars, ParentDecl); in EvalAddr() 6654 return EvalAddr(Base, refVars, ParentDecl); in EvalAddr() 6667 if (const Expr *LHS = EvalAddr(LHSExpr, refVars, ParentDecl)) in EvalAddr() 6675 return EvalAddr(C->getRHS(), refVars, ParentDecl); in EvalAddr() 6688 ParentDecl); in EvalAddr() 6711 return EvalAddr(SubExpr, refVars, ParentDecl); in EvalAddr() [all …]
|
D | SemaDecl.cpp | 4523 auto *ParentDecl = cast<RecordDecl>(CurContext); in BuildMicrosoftCAnonymousStruct() local 4528 ParentDecl, in BuildMicrosoftCAnonymousStruct() 4553 ParentDecl->setInvalidDecl(); in BuildMicrosoftCAnonymousStruct()
|
/external/clang/lib/AST/ |
D | StmtPrinter.cpp | 1545 FieldDecl *ParentDecl = ParentMember in VisitMemberExpr() local 1548 if (!ParentDecl || !ParentDecl->isAnonymousStructOrUnion()) in VisitMemberExpr()
|
/external/llvm-project/clang/lib/AST/ |
D | StmtPrinter.cpp | 1424 FieldDecl *ParentDecl = in VisitMemberExpr() local 1428 if (!ParentDecl || !ParentDecl->isAnonymousStructOrUnion()) in VisitMemberExpr()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDecl.cpp | 5264 auto *ParentDecl = cast<RecordDecl>(CurContext); in BuildMicrosoftCAnonymousStruct() local 5269 FieldDecl::Create(Context, ParentDecl, DS.getBeginLoc(), DS.getBeginLoc(), in BuildMicrosoftCAnonymousStruct() 5290 ParentDecl->setInvalidDecl(); in BuildMicrosoftCAnonymousStruct() 6957 const CXXRecordDecl *ParentDecl = dyn_cast<CXXRecordDecl>(Ctxt); in ActOnVariableDeclarator() local 6958 if (ParentDecl && !ParentDecl->getDeclName()) { in ActOnVariableDeclarator() 6959 AnonStruct = ParentDecl; in ActOnVariableDeclarator()
|