Changes in src/AST/Decl.hpp [2d019af:b66d14a]
- File:
-
- 1 edited
-
src/AST/Decl.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Decl.hpp
r2d019af rb66d14a 10 10 // Created On : Thu May 9 10:00:00 2019 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Mar 12 18:25:05202113 // Update Count : 3 212 // Last Modified On : Mon Jan 11 20:48:38 2021 13 // Update Count : 30 14 14 // 15 15 … … 365 365 }; 366 366 367 /// C-preprocessor directive `#...`368 class DirectiveDecl : public Decl {369 public:370 ptr<DirectiveStmt> stmt;371 372 DirectiveDecl( const CodeLocation & loc, DirectiveStmt * stmt )373 : Decl( loc, "", {}, {} ), stmt(stmt) {}374 375 const DirectiveDecl * accept( Visitor & v ) const override { return v.visit( this ); }376 private:377 DirectiveDecl * clone() const override { return new DirectiveDecl( *this ); }378 MUTATE_FRIEND379 };380 381 367 class StaticAssertDecl : public Decl { 382 368 public:
Note:
See TracChangeset
for help on using the changeset viewer.