Home
last modified time | relevance | path

Searched refs:AttributedStmt (Results 1 – 16 of 16) sorted by relevance

/external/clang/lib/AST/
DStmt.cpp122 if (auto AS = dyn_cast_or_null<AttributedStmt>(S)) in IgnoreContainers()
145 else if (const AttributedStmt *AS = dyn_cast<AttributedStmt>(S)) in stripLabelLikeStatements()
313 AttributedStmt *AttributedStmt::Create(const ASTContext &C, SourceLocation Loc, in Create()
317 void *Mem = C.Allocate(sizeof(AttributedStmt) + sizeof(Attr *) * Attrs.size(), in Create()
318 llvm::alignOf<AttributedStmt>()); in Create()
319 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); in Create()
322 AttributedStmt *AttributedStmt::CreateEmpty(const ASTContext &C, in CreateEmpty()
325 void *Mem = C.Allocate(sizeof(AttributedStmt) + sizeof(Attr *) * NumAttrs, in CreateEmpty()
326 llvm::alignOf<AttributedStmt>()); in CreateEmpty()
327 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
DASTDumper.cpp499 void VisitAttributedStmt(const AttributedStmt *Node);
1784 void ASTDumper::VisitAttributedStmt(const AttributedStmt *Node) { in VisitAttributedStmt()
DStmtProfile.cpp113 void StmtProfiler::VisitAttributedStmt(const AttributedStmt *S) { in VisitAttributedStmt()
DStmtPrinter.cpp172 void StmtPrinter::VisitAttributedStmt(AttributedStmt *Node) { in VisitAttributedStmt()
DASTImporter.cpp191 Stmt *VisitAttributedStmt(AttributedStmt *S);
4958 Stmt *ASTNodeImporter::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
4974 return AttributedStmt::Create(Importer.getToContext(), ToAttrLoc, in VisitAttributedStmt()
DExprConstant.cpp3818 return EvaluateStmt(Result, Info, cast<AttributedStmt>(S)->getSubStmt(), in EvaluateStmt()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp908 void markFallthroughVisited(const AttributedStmt *Stmt) { in markFallthroughVisited()
914 typedef llvm::SmallPtrSet<const AttributedStmt*, 8> AttrStmts;
977 if (const AttributedStmt *AS = asFallThroughAttr(CS->getStmt())) { in checkFallThroughIntoBlock()
999 if (const AttributedStmt *AS = asFallThroughAttr(LastStmt)) { in checkFallThroughIntoBlock()
1020 bool VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
1040 static const AttributedStmt *asFallThroughAttr(const Stmt *S) { in asFallThroughAttr()
1041 if (const AttributedStmt *AS = dyn_cast_or_null<AttributedStmt>(S)) { in asFallThroughAttr()
DSemaStmt.cpp488 AttributedStmt *LS = AttributedStmt::Create(Context, AttrLoc, Attrs, SubStmt); in ActOnAttributedStmt()
DTreeTransform.h6244 StmtResult TreeTransform<Derived>::TransformAttributedStmt(AttributedStmt *S) { in TransformAttributedStmt()
/external/clang/include/clang/AST/
DStmt.h830 class AttributedStmt : public Stmt {
837 AttributedStmt(SourceLocation Loc, ArrayRef<const Attr*> Attrs, Stmt *SubStmt) in AttributedStmt() function
843 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() function
856 static AttributedStmt *Create(const ASTContext &C, SourceLocation Loc,
859 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);
DRecursiveASTVisitor.h2035 DEF_TRAVERSE_STMT(AttributedStmt, {})
/external/clang/include/clang/Basic/
DStmtNodes.td15 def AttributedStmt : Stmt;
/external/clang/lib/CodeGen/
DCGStmt.cpp309 EmitAttributedStmt(cast<AttributedStmt>(*S)); break; in EmitSimpleStmt()
518 void CodeGenFunction::EmitAttributedStmt(const AttributedStmt &S) { in EmitAttributedStmt()
DCodeGenFunction.h2267 void EmitAttributedStmt(const AttributedStmt &S);
/external/clang/lib/Serialization/
DASTReaderStmt.cpp172 void ASTStmtReader::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()
2876 S = AttributedStmt::CreateEmpty( in ReadStmtFromStream()
DASTWriterStmt.cpp120 void ASTStmtWriter::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt()