Changes in src/AST/Decl.hpp [3cc1111:b8ab91a]
- File:
-
- 1 edited
-
src/AST/Decl.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Decl.hpp
r3cc1111 rb8ab91a 270 270 : AggregateDecl( loc, name, std::move(attrs), linkage ), kind( kind ) {} 271 271 272 bool is_coroutine() const{ return kind == Coroutine; }273 bool is_generator() const{ return kind == Generator; }274 bool is_monitor () const{ return kind == Monitor ; }275 bool is_thread () const{ return kind == Thread ; }272 bool is_coroutine() { return kind == Coroutine; } 273 bool is_generator() { return kind == Generator; } 274 bool is_monitor () { return kind == Monitor ; } 275 bool is_thread () { return kind == Thread ; } 276 276 277 277 const Decl * accept( Visitor & v ) const override { return v.visit( this ); }
Note:
See TracChangeset
for help on using the changeset viewer.