Changes in src/ResolvExpr/Resolver.cc [2871210:1869adf]
- File:
-
- 1 edited
-
src/ResolvExpr/Resolver.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
r2871210 r1869adf 9 9 // Author : Richard C. Bilson 10 10 // Created On : Sun May 17 12:17:01 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Fri Jul 3 16:18:20201513 // Update Count : 15 911 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed Jun 24 16:20:35 2015 13 // Update Count : 156 14 14 // 15 15 … … 274 274 // must resolve the argument for a computed goto 275 275 if ( branchStmt->get_type() == BranchStmt::Goto ) { // check for computed goto statement 276 if ( Expression * arg = branchStmt->get_computedTarget() ) {276 if ( NameExpr * arg = dynamic_cast< NameExpr * >( branchStmt->get_computedTarget() ) ) { 277 277 VoidType v = Type::Qualifiers(); // cast to void * for the alternative finder 278 278 PointerType pt( Type::Qualifiers(), v.clone() );
Note:
See TracChangeset
for help on using the changeset viewer.