Searched refs:Stmt (Results 176 - 200 of 237) sorted by relevance

12345678910

/external/clang/include/clang/Serialization/
H A DASTReader.h1030 /// \brief When reading a Stmt tree, Stmt operands are placed in this stack.
1031 SmallVector<Stmt *, 16> StmtStack;
1069 Stmt *ReadStmtFromStream(ModuleFile &F);
1664 Stmt *GetExternalDeclStmt(uint64_t Offset) override;
1989 Stmt *ReadStmt(ModuleFile &F);
1995 Stmt *ReadSubStmt() {
1998 // Subexpressions are stored from last to first, so the next Stmt we need
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp1 //===--- ASTReaderStmt.cpp - Stmt/Expr Deserialization ----------*- C++ -*-===//
86 /// \brief The number of record fields required for the Stmt class
101 void VisitStmt(Stmt *S);
121 void ASTStmtReader::VisitStmt(Stmt *S) {
133 SmallVector<Stmt *, 16> Stmts;
321 SmallVector<Stmt*, 16> Exprs;
464 E->setRawSemantics(static_cast<Stmt::APFloatSemantics>(Record[Idx++]));
513 E->Exprs = new (Reader.getContext()) Stmt*[NumExprs];
606 assert(E->getStmtClass() == Stmt::MemberExprClass &&
873 new(Reader.getContext()) Stmt*[GenericSelectionExp
[all...]
H A DASTWriterStmt.cpp45 void VisitStmt(Stmt *S);
61 void ASTStmtWriter::VisitStmt(Stmt *S) {
1894 void ASTWriter::WriteSubStmt(Stmt *S,
1895 llvm::DenseMap<Stmt *, uint64_t> &SubStmtEntries,
1896 llvm::DenseSet<Stmt *> &ParentStmts) {
1906 llvm::DenseMap<Stmt *, uint64_t>::iterator I = SubStmtEntries.find(S);
1914 assert(!ParentStmts.count(S) && "There is a Stmt cycle!");
1917 Stmt *S;
1918 llvm::DenseSet<Stmt *> &ParentStmts;
1920 ParentStmtInserterRAII(Stmt *
[all...]
/external/clang/tools/libclang/
H A DCIndex.cpp500 if (const Stmt *S = getCursorStmt(Cursor))
582 if (Stmt *Body = B->getBody())
1696 DEF_JOB(StmtVisit, Stmt, StmtVisitKind)
1771 DeclarationNameInfoVisit(const Stmt *S, CXCursor parent)
1777 const Stmt *S = static_cast<const Stmt *>(data[0]);
1780 llvm_unreachable("Unhandled Stmt");
1781 case clang::Stmt::MSDependentExistsStmtClass:
1783 case Stmt::CXXDependentScopeMemberExprClass:
1785 case Stmt
[all...]
H A DIndexingContext.h390 void indexBody(const Stmt *S, const NamedDecl *Parent,
/external/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h42 #include "clang/AST/Stmt.h"
641 std::is_same<T, Stmt>::value ||
666 /// FIXME: Currently we only allow Stmt and Decl nodes to start a traversal.
714 std::is_base_of<Stmt, T>::value ||
730 std::is_base_of<Stmt, T>::value ||
747 std::is_base_of<Stmt, T>::value,
748 "only Decl or Stmt allowed for recursive matching");
835 TypeList<Decl, Stmt, NestedNameSpecifier, NestedNameSpecifierLoc>,
849 typedef TypeList<TypeList<Decl, Stmt, NestedNameSpecifier>,
/external/clang/lib/Parse/
H A DParseExpr.cpp1969 StmtResult Stmt(ParseCompoundStatement(true));
1973 if (!Stmt.isInvalid()) {
1974 Result = Actions.ActOnStmtExpr(OpenLoc, Stmt.get(), Tok.getLocation());
2498 StmtResult Stmt(ParseCompoundStatementBody());
2500 if (!Stmt.isInvalid())
2501 Result = Actions.ActOnBlockStmtExpr(CaretLoc, Stmt.get(), getCurScope());
/external/clang/lib/StaticAnalyzer/Checkers/
H A DRetainCountChecker.cpp1859 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt();
1949 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt();
2000 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt();
2108 const Stmt *S = N->getLocation().castAs<StmtPoint>().getStmt();
2115 for (Stmt::const_child_iterator I = S->child_begin(), E = S->child_end();
2184 const Stmt *CE = CEP->getCallExpr();
2186 const Stmt *RecExpr = ME->getInstanceReceiver();
2345 const Stmt *AllocStmt = 0;
2551 void checkBind(SVal loc, SVal val, const Stmt *S, CheckerContext &C) const;
2724 for (Stmt
[all...]
/external/clang/lib/AST/
H A DExprConstant.cpp552 bool nextStep(const Stmt *S) {
3171 const Stmt *S,
3176 const Stmt *Body,
3252 const Stmt *S, const SwitchCase *Case) {
3264 case Stmt::CompoundStmtClass:
3268 case Stmt::LabelStmtClass:
3269 case Stmt::AttributedStmtClass:
3270 case Stmt::DoStmtClass:
3273 case Stmt::CaseStmtClass:
3274 case Stmt
[all...]
H A DASTImporter.cpp30 public StmtVisitor<ASTNodeImporter, Stmt *> {
38 using StmtVisitor<ASTNodeImporter, Stmt *>::Visit;
169 Stmt *VisitStmt(Stmt *S);
4339 Stmt *ASTNodeImporter::VisitStmt(Stmt *S) {
4710 return cast_or_null<Expr>(Import(cast<Stmt>(FromE)));
4713 Stmt *ASTImporter::Import(Stmt *FromS) {
4718 llvm::DenseMap<Stmt *, Stm
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp197 if (const Stmt *Outer = LCtx->getCurrentStackFrame()->getCallSite()) {
301 const Stmt *S,
H A DProgramState.cpp290 ProgramStateRef ProgramState::BindExpr(const Stmt *S,
651 ProgramStateRef ProgramState::addTaint(const Stmt *S,
687 bool ProgramState::isTainted(const Stmt *S, const LocationContext *LCtx,
H A DPlistDiagnostics.cpp423 if (const Stmt *Body = DeclWithIssue->getBody()) {
/external/clang/lib/CodeGen/
H A DCGException.cpp426 const Stmt *ThrowStmt = E->getSubExpr();
428 const_cast<Stmt *>(ThrowStmt));
1302 const Stmt *Body;
1308 PerformFinally(const Stmt *Body, llvm::Value *ForEHVar,
1375 const Stmt *body,
H A DCGClass.cpp714 Stmt *Body = Ctor->getBody();
1015 FieldDecl *getMemcpyableField(Stmt *S) {
1028 Stmt *RHS = BO->getRHS();
1085 SmallVector<Stmt*, 16> AggregatedStmts;
1096 void emitAssignment(Stmt *S) {
1275 Stmt *Body = Dtor->getBody();
1346 const Stmt *RootS = AssignOp->getBody();
H A DCGObjCRuntime.cpp150 const Stmt *Body;
H A DCodeGenModule.h63 class Stmt;
895 void ErrorUnsupported(const Stmt *S, const char *Type);
H A DCGDecl.cpp527 static bool isAccessedBy(const VarDecl &var, const Stmt *s) {
544 for (Stmt::const_child_range children = s->children(); children; ++children)
1029 for (Stmt::const_child_range children = e->children(); children; ++children)
/external/clang/lib/Sema/
H A DSemaDeclCXX.cpp75 for (Stmt::child_range I = Node->children(); I; ++I)
968 CheckConstexprFunctionStmt(Sema &SemaRef, const FunctionDecl *Dcl, Stmt *S,
973 case Stmt::NullStmtClass:
977 case Stmt::DeclStmtClass:
987 case Stmt::ReturnStmtClass:
999 case Stmt::CompoundStmtClass: {
1013 case Stmt::AttributedStmtClass:
1018 case Stmt::IfStmtClass: {
1034 case Stmt::WhileStmtClass:
1035 case Stmt
[all...]
H A DSemaExpr.cpp7647 case Stmt::ObjCArrayLiteralClass:
7648 case Stmt::ObjCDictionaryLiteralClass:
7649 case Stmt::ObjCStringLiteralClass:
7650 case Stmt::ObjCBoxedExprClass:
7713 case Stmt::ObjCStringLiteralClass:
7716 case Stmt::ObjCArrayLiteralClass:
7719 case Stmt::ObjCDictionaryLiteralClass:
7722 case Stmt::BlockExprClass:
7724 case Stmt::ObjCBoxedExprClass: {
7727 case Stmt
[all...]
/external/clang/lib/Analysis/
H A DConsumed.cpp75 if (const Stmt *StmtNode = Block->getTerminator()) {
458 typedef llvm::DenseMap<const Stmt *, PropagationInfo> MapType;
459 typedef std::pair<const Stmt *, PropagationInfo> PairType;
/external/clang/lib/Frontend/
H A DASTConsumers.cpp159 if (Stmt *Body = D->getBody()) {
/external/clang/include/clang/AST/
H A DDeclBase.h51 class Stmt;
811 /// top-level Stmt* of that body. Otherwise this method returns null.
812 virtual Stmt* getBody() const { return nullptr; }
H A DDeclObjC.h24 class Stmt;
290 // Location information, modeled after the Stmt API.
480 Stmt *getBody() const override;
485 void setBody(Stmt *B) { Body = B; }
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp2385 AST_POLYMORPHIC_SUPPORTED_TYPES_2(Decl, Stmt),
3311 new VerifyIdIsBoundTo<Stmt>("x", 2)));
3642 const Stmt *Node = Nodes->getNodeAs<Stmt>("node");
4177 new VerifyMatchOnNode<clang::Stmt>(
4181 new VerifyMatchOnNode<clang::Stmt>(
4206 bool verify(const BoundNodes &Nodes, ASTContext &Context, const Stmt *Node) {
4309 TEST(EqualsBoundNodeMatcher, Stmt) {

Completed in 1067 milliseconds

12345678910