Home
last modified time | relevance | path

Searched refs:AddStmt (Results 1 – 14 of 14) sorted by relevance

/external/clang/lib/Serialization/
DASTWriterStmt.cpp84 Record.AddStmt(CS); in VisitCompoundStmt()
99 Record.AddStmt(S->getLHS()); in VisitCaseStmt()
100 Record.AddStmt(S->getRHS()); in VisitCaseStmt()
101 Record.AddStmt(S->getSubStmt()); in VisitCaseStmt()
108 Record.AddStmt(S->getSubStmt()); in VisitDefaultStmt()
115 Record.AddStmt(S->getSubStmt()); in VisitLabelStmt()
124 Record.AddStmt(S->getSubStmt()); in VisitAttributedStmt()
132 Record.AddStmt(S->getInit()); in VisitIfStmt()
134 Record.AddStmt(S->getCond()); in VisitIfStmt()
135 Record.AddStmt(S->getThen()); in VisitIfStmt()
[all …]
DASTWriterDecl.cpp493 Record.AddStmt(D->getInitExpr()); in VisitEnumConstantDecl()
614 Record.AddStmt(D->getBody()); in VisitObjCMethodDecl()
831 Record.AddStmt(D->getGetterCXXConstructor()); in VisitObjCPropertyImplDecl()
832 Record.AddStmt(D->getSetterCXXAssignment()); in VisitObjCPropertyImplDecl()
848 Record.AddStmt(static_cast<Expr *>(D->InitStorage.getPointer())); in VisitFieldDecl()
909 Record.AddStmt(D->getInit()); in VisitVarDecl()
972 Record.AddStmt(D->getUninstantiatedDefaultArg()); in VisitParmVarDecl()
1011 Record.AddStmt(D->getAsmString()); in VisitFileScopeAsmDecl()
1023 Record.AddStmt(D->getBody()); in VisitBlockDecl()
1042 if (capture.hasCopyExpr()) Record.AddStmt(capture.getCopyExpr()); in VisitBlockDecl()
[all …]
DASTWriter.cpp200 Record.AddStmt(T->getSizeExpr()); in VisitVariableArrayType()
243 Record.AddStmt(T->getNoexceptExpr()); in addExceptionSpec()
291 Record.AddStmt(T->getUnderlyingExpr()); in VisitTypeOfExprType()
302 Record.AddStmt(T->getUnderlyingExpr()); in VisitDecltypeType()
379 Record.AddStmt(T->getSizeExpr()); in VisitDependentSizedArrayType()
546 Record.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
630 if (operand) Record.AddStmt(operand); in VisitAttributedTypeLoc()
4681 Record.AddStmt(const_cast<Expr *>( in WriteDeclUpdatesBlocks()
4883 AddStmt(Arg.getAsExpr()); in AddTemplateArgumentLocInfo()
5348 AddStmt(Arg.getAsExpr()); in AddTemplateArgument()
[all …]
/external/llvm-project/clang/lib/Serialization/
DASTWriterStmt.cpp85 Record.AddStmt(CS); in VisitCompoundStmt()
101 Record.AddStmt(S->getLHS()); in VisitCaseStmt()
102 Record.AddStmt(S->getSubStmt()); in VisitCaseStmt()
104 Record.AddStmt(S->getRHS()); in VisitCaseStmt()
112 Record.AddStmt(S->getSubStmt()); in VisitDefaultStmt()
119 Record.AddStmt(S->getSubStmt()); in VisitLabelStmt()
128 Record.AddStmt(S->getSubStmt()); in VisitAttributedStmt()
145 Record.AddStmt(S->getCond()); in VisitIfStmt()
146 Record.AddStmt(S->getThen()); in VisitIfStmt()
148 Record.AddStmt(S->getElse()); in VisitIfStmt()
[all …]
DASTWriter.cpp245 Record.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
271 Record.AddStmt(TL.getAttrExprOperand()); in VisitDependentAddressSpaceTypeLoc()
297 Record.AddStmt(TL.getAttrRowOperand()); in VisitConstantMatrixTypeLoc()
298 Record.AddStmt(TL.getAttrColumnOperand()); in VisitConstantMatrixTypeLoc()
307 Record.AddStmt(TL.getAttrRowOperand()); in VisitDependentSizedMatrixTypeLoc()
308 Record.AddStmt(TL.getAttrColumnOperand()); in VisitDependentSizedMatrixTypeLoc()
4988 Record.AddStmt(const_cast<Expr *>( in WriteDeclUpdatesBlocks()
4993 Record.AddStmt( in WriteDeclUpdatesBlocks()
5046 Record.AddStmt(cast<CXXDestructorDecl>(D)->getOperatorDeleteThisArg()); in WriteDeclUpdatesBlocks()
5076 Record.AddStmt(A->getAllocator()); in WriteDeclUpdatesBlocks()
[all …]
DASTWriterDecl.cpp519 Record.AddStmt(D->getInitExpr()); in VisitEnumConstantDecl()
532 Record.AddStmt(Info->TrailingRequiresClause); in VisitDeclaratorDecl()
670 Record.AddStmt(ES.getExpr()); in addExplicitSpecifier()
688 Record.AddStmt(D->getBody()); in VisitObjCMethodDecl()
909 Record.AddStmt(D->getGetterCXXConstructor()); in VisitObjCPropertyImplDecl()
910 Record.AddStmt(D->getSetterCXXAssignment()); in VisitObjCPropertyImplDecl()
923 Record.AddStmt(D->getInClassInitializer()); in VisitFieldDecl()
925 Record.AddStmt(D->getBitWidth()); in VisitFieldDecl()
1013 Record.AddStmt(Init.getCopyExpr()); in VisitVarDecl()
1096 Record.AddStmt(D->getUninstantiatedDefaultArg()); in VisitParmVarDecl()
[all …]
DASTReader.cpp9654 Hash.AddStmt(S); in diagnoseOdrViolations()
/external/llvm-project/clang/lib/AST/
DODRHash.cpp24 void ODRHash::AddStmt(const Stmt *S) { in AddStmt() function in ODRHash
178 AddStmt(TA.getAsExpr()); in AddTemplateArgument()
248 void AddStmt(const Stmt *S) { in AddStmt() function in __anonb19c90110111::ODRDeclVisitor
251 Hash.AddStmt(S); in AddStmt()
300 AddStmt(D->getInit()); in VisitVarDecl()
316 AddStmt(D->getAssertExpr()); in VisitStaticAssertDecl()
317 AddStmt(D->getMessage()); in VisitStaticAssertDecl()
327 AddStmt(D->getBitWidth()); in VisitFieldDecl()
331 AddStmt(D->getInClassInitializer()); in VisitFieldDecl()
386 AddStmt(TC->getImmediatelyDeclaredConstraint()); in VisitTemplateTypeParmDecl()
[all …]
DDeclCXX.cpp2036 SelfHash.AddStmt(getExpr()); in isEquivalent()
2037 OtherHash.AddStmt(Other.getExpr()); in isEquivalent()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp2117 void AddStmt(const Stmt *S);
2137 void EnqueueVisitor::AddStmt(const Stmt *S) { in AddStmt() function in EnqueueVisitor
2160 AddStmt(SubStmt); in EnqueueChildren()
2185 Visitor->AddStmt(C->getPreInitStmt()); in VisitOMPClauseWithPreInit()
2191 Visitor->AddStmt(C->getPostUpdateExpr()); in VisitOMPClauseWithPostUpdate()
2196 Visitor->AddStmt(C->getCondition()); in VisitOMPIfClause()
2200 Visitor->AddStmt(C->getCondition()); in VisitOMPFinalClause()
2205 Visitor->AddStmt(C->getNumThreads()); in VisitOMPNumThreadsClause()
2209 Visitor->AddStmt(C->getSafelen()); in VisitOMPSafelenClause()
2213 Visitor->AddStmt(C->getSimdlen()); in VisitOMPSimdlenClause()
[all …]
/external/clang/tools/libclang/
DCIndex.cpp1986 void AddStmt(const Stmt *S);
2006 void EnqueueVisitor::AddStmt(const Stmt *S) { in AddStmt() function in EnqueueVisitor
2029 AddStmt(SubStmt); in EnqueueChildren()
2055 Visitor->AddStmt(C->getPreInitStmt()); in VisitOMPClauseWithPreInit()
2061 Visitor->AddStmt(C->getPostUpdateExpr()); in VisitOMPClauseWithPostUpdate()
2065 Visitor->AddStmt(C->getCondition()); in VisitOMPIfClause()
2069 Visitor->AddStmt(C->getCondition()); in VisitOMPFinalClause()
2073 Visitor->AddStmt(C->getNumThreads()); in VisitOMPNumThreadsClause()
2077 Visitor->AddStmt(C->getSafelen()); in VisitOMPSafelenClause()
2081 Visitor->AddStmt(C->getSimdlen()); in VisitOMPSimdlenClause()
[all …]
/external/llvm-project/clang/include/clang/Serialization/
DASTRecordWriter.h118 void AddStmt(Stmt *S) { in AddStmt() function
122 AddStmt(const_cast<Stmt*>(S)); in writeStmtRef()
/external/llvm-project/clang/include/clang/AST/
DODRHash.h81 void AddStmt(const Stmt *S);
/external/clang/include/clang/Serialization/
DASTWriter.h784 void AddStmt(Stmt *S) { in AddStmt() function