Changes in src/AST/Expr.cpp [6a896b0:e6cf857f]
- File:
-
- 1 edited
-
src/AST/Expr.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.cpp
r6a896b0 re6cf857f 272 272 // Adjust the length of the string for the terminator. 273 273 const Expr * strSize = from_ulong( loc, str.size() + 1 ); 274 const Type * strType = new ArrayType( charType, strSize, FixedLen, DynamicDim );274 const Type * strType = new ArrayType( charType, strSize, FixedLen, StaticDim ); 275 275 const std::string strValue = "\"" + str + "\""; 276 276 return new ConstantExpr( loc, strType, strValue, std::nullopt );
Note:
See TracChangeset
for help on using the changeset viewer.