Changeset a56d544 for src/AST/Expr.cpp
- Timestamp:
- Feb 14, 2026, 10:38:00 PM (2 days ago)
- Branches:
- stuck-waitfor-destruct
- Children:
- 7e8c071
- Parents:
- c9d36b1
- git-author:
- Matthew Au-Yeung <mw2auyeu@…> (02/14/26 22:30:32)
- git-committer:
- Matthew Au-Yeung <mw2auyeu@…> (02/14/26 22:38:00)
- File:
-
- 1 edited
-
src/AST/Expr.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.cpp
rc9d36b1 ra56d544 264 264 } 265 265 266 ConstantExpr * ConstantExpr::from_ulonglong( const CodeLocation & loc, unsigned long long i ) { 267 return new ConstantExpr{ 268 loc, new BasicType{ BasicKind::LongLongUnsignedInt }, std::to_string( i ) + "ULL", 269 (unsigned long long)i }; 270 } 271 266 272 ConstantExpr * ConstantExpr::from_string( const CodeLocation & loc, const std::string & str ) { 267 273 const Type * charType = new BasicType( BasicKind::Char, ast::CV::Const );
Note:
See TracChangeset
for help on using the changeset viewer.