Home | History | Annotate | Download | only in slang

Lines Matching full:clang

20 #include "clang/AST/StmtVisitor.h"
23 #include "clang/AST/ASTContext.h"
25 namespace clang {
33 class RSASTReplace : public clang::StmtVisitor<RSASTReplace> {
35 clang::ASTContext &C;
36 clang::Stmt *mOuterStmt;
37 clang::Stmt *mOldStmt;
38 clang::Stmt *mNewStmt;
39 clang::Expr *mOldExpr;
40 clang::Expr *mNewExpr;
42 inline bool matchesExpr(const clang::Expr *E) const {
51 inline bool matchesStmt(const clang::Stmt *S) const {
56 void ReplaceInCompoundStmt(clang::CompoundStmt *CS);
59 explicit RSASTReplace(clang::ASTContext &Con)
68 void VisitStmt(clang::Stmt *S);
69 void VisitCompoundStmt(clang::CompoundStmt *CS);
70 void VisitCaseStmt(clang::CaseStmt *CS);
71 void VisitDefaultStmt(clang::DefaultStmt *DS);
72 void VisitDoStmt(clang::DoStmt *DS);
73 void VisitForStmt(clang::ForStmt *FS);
74 void VisitIfStmt(clang::IfStmt *IS);
75 void VisitSwitchCase(clang::SwitchCase *SC);
76 void VisitSwitchStmt(clang::SwitchStmt *SS);
77 void VisitWhileStmt(clang::WhileStmt *WS);
81 clang::Stmt *OuterStmt,
82 clang::Stmt *OldStmt,
83 clang::Stmt *NewStmt);