Changes in src/SymTab/Autogen.h [07de76b:b8524ca]
- File:
-
- 1 edited
-
src/SymTab/Autogen.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Autogen.h
r07de76b rb8524ca 10 10 // Created On : Sun May 17 21:53:34 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Dec 13 16:38:06 201913 // Update Count : 1 612 // Last Modified On : Sat Jul 22 09:50:25 2017 13 // Update Count : 15 14 14 // 15 15 … … 34 34 #include "SynTree/Expression.h" // for NameExpr, ConstantExpr, UntypedExpr... 35 35 #include "SynTree/Type.h" // for Type, ArrayType, Type::Qualifiers 36 #include "SynTree/Statement.h" // for CompoundStmt, DeclStmt, ExprStmt37 36 38 37 class CompoundStmt; … … 98 97 // type->get_qualifiers() = Type::Qualifiers(); 99 98 Type * castType = addCast->clone(); 100 castType->get_qualifiers() -= Type::Qualifiers( Type:: Const | Type::Volatile | Type::Restrict | Type::Atomic );99 castType->get_qualifiers() -= Type::Qualifiers( Type::Lvalue | Type::Const | Type::Volatile | Type::Restrict | Type::Atomic ); 101 100 // castType->set_lvalue( true ); // xxx - might not need this 102 101 dstParam = new CastExpr( dstParam, new ReferenceType( Type::Qualifiers(), castType ) );
Note:
See TracChangeset
for help on using the changeset viewer.