Changeset 675d816 for src/AST/Stmt.hpp
- Timestamp:
- May 17, 2019, 4:02:37 PM (4 years ago)
- Branches:
- arm-eh, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f6964ef
- Parents:
- 74dbbf6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Stmt.hpp
r74dbbf6 r675d816 10 10 // Created On : Wed May 8 13:00:00 2019 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Fri May 17 1 0:03:00 201913 // Update Count : 412 // Last Modified On : Fri May 17 12:45:00 2019 13 // Update Count : 5 14 14 // 15 15 … … 175 175 : Stmt(loc, std::move(labels)), cond(cond), stmts(std::move(stmts)) {} 176 176 177 bool isDefault() { return !cond; }177 bool isDefault() const { return !cond; } 178 178 179 179 const Stmt * accept( Visitor & v ) const override { return v.visit( this ); }
Note: See TracChangeset
for help on using the changeset viewer.