Changeset 6018ddb for src/AST/Expr.cpp
- Timestamp:
- Feb 25, 2026, 12:52:06 AM (41 hours ago)
- Branches:
- stuck-waitfor-destruct
- Children:
- a0548c2
- Parents:
- 2b3ebe5
- git-author:
- Matthew Au-Yeung <mw2auyeu@…> (02/25/26 00:31:10)
- git-committer:
- Matthew Au-Yeung <mw2auyeu@…> (02/25/26 00:52:06)
- File:
-
- 1 edited
-
src/AST/Expr.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.cpp
r2b3ebe5 r6018ddb 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 272 266 ConstantExpr * ConstantExpr::from_string( const CodeLocation & loc, const std::string & str ) { 273 267 const Type * charType = new BasicType( BasicKind::Char, ast::CV::Const );
Note:
See TracChangeset
for help on using the changeset viewer.