Changes in src/AST/Expr.hpp [b91bfde:b3a0df6]
- File:
-
- 1 edited
-
src/AST/Expr.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.hpp
rb91bfde rb3a0df6 438 438 long long int intValue() const; 439 439 440 /// Generates a boolean constant of the given bool.440 /// generates a boolean constant of the given bool 441 441 static ConstantExpr * from_bool( const CodeLocation & loc, bool b ); 442 /// Generates an integer constant of the given int.442 /// generates an integer constant of the given int 443 443 static ConstantExpr * from_int( const CodeLocation & loc, int i ); 444 /// Generates an integer constant of the given unsigned long int.444 /// generates an integer constant of the given unsigned long int 445 445 static ConstantExpr * from_ulong( const CodeLocation & loc, unsigned long i ); 446 /// Generates a string constant from the given string (char type, unquoted string). 447 static ConstantExpr * from_string( const CodeLocation & loc, const std::string & string ); 448 /// Generates a null pointer value for the given type. void * if omitted. 446 /// generates a null pointer value for the given type. void * if omitted. 449 447 static ConstantExpr * null( const CodeLocation & loc, const Type * ptrType = nullptr ); 450 448
Note:
See TracChangeset
for help on using the changeset viewer.