search for: stmt_8h_source

Displaying 3 results from an estimated 3 matches for "stmt_8h_source".

2013 May 26
2
[LLVMdev] How to use WhileStmt to implement while loop in LLVM
Dear All, I have a question How could I use WhileStmt class in Stmt.h http://clang.llvm.org/doxygen/Stmt_8h_source.html to implement while loop like while(i==1){} that is required to be inserted For example, Convert x++; y++; to x++; while(i=1){} y++; from the class's constructor: WhileStmt(ASTContext &C, VarDecl *Var, Expr *cond, Stmt *body,SourceLocation WL);//I know C --> 1//Var--> i//cond...
2013 May 26
1
[LLVMdev] How to use WhileStmt to implement while loop in LLVM
...it in LLVM pass. Could it work? On 26 May 2013 10:41, Nick Lewycky <nicholas at mxc.ca> wrote: > Rasha Omar wrote: > >> Dear All, >> >> I have a question >> >> How could I use |WhileStmt class| in Stmt.h >> >> http://clang.llvm.org/doxygen/**Stmt_8h_source.html<http://clang.llvm.org/doxygen/Stmt_8h_source.html> >> >> to implement |while loop| like |while(i==1){}| that is required to be >> inserted >> >> For example, Convert x++; y++; to x++; while(i=1){} y++; >> >> from the class's constructor: >...
2013 May 26
0
[LLVMdev] How to use WhileStmt to implement while loop in LLVM
Rasha Omar wrote: > Dear All, > > I have a question > > How could I use |WhileStmt class| in Stmt.h > > http://clang.llvm.org/doxygen/Stmt_8h_source.html > > to implement |while loop| like |while(i==1){}| that is required to be > inserted > > For example, Convert x++; y++; to x++; while(i=1){} y++; > > from the class's constructor: > > |WhileStmt(ASTContext &C, VarDecl *Var, Expr *cond, Stmt *body,Sourc...