Changeset bb87dd0 for src/AST/Expr.hpp
- Timestamp:
- Nov 24, 2020, 5:48:06 PM (18 months ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr
- Children:
- 4702a2c
- Parents:
- 4a359e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.hpp
r4a359e2 rbb87dd0 299 299 }; 300 300 301 /// Whether a cast existed in the program source or not 301 /// Inidicates whether the cast is introduced by the CFA type system. 302 /// GeneratedCast for casts that the resolver introduces to force a return type 303 /// ExplicitCast for casts from user code 304 /// ExplicitCast for casts from desugaring advanced CFA features into simpler CFA 305 /// example 306 /// int * p; // declaration 307 /// (float *) p; // use, with subject cast 308 /// subject cast being GeneratedCast means we are considering an interpretation with a type mismatch 309 /// subject cast being ExplicitCast means someone in charge wants it that way 302 310 enum GeneratedFlag { ExplicitCast, GeneratedCast }; 303 311
Note: See TracChangeset
for help on using the changeset viewer.