- Timestamp:
- Jul 14, 2021, 4:02:43 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 3945abe
- Parents:
- 7ff35e0e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Type.hpp
r7ff35e0e rb238618 10 10 // Created On : Thu May 9 10:00:00 2019 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Thu Jul 23 14:15:00 202013 // Update Count : 612 // Last Modified On : Wed Jul 14 15:54:00 2021 13 // Update Count : 7 14 14 // 15 15 … … 491 491 }; 492 492 493 /// Virtual Table Type `vtable(T)` 494 class VTableType final : public Type { 495 public: 496 ptr<Type> base; 497 498 VTableType( const Type * b, CV::Qualifiers q = {} ) : Type(q), base(b) {} 499 500 const Type * accept( Visitor & v ) const override { return v.visit( this ); } 501 private: 502 VTableType * clone() const override { return new VTableType{ *this }; } 503 MUTATE_FRIEND 504 }; 505 493 506 /// GCC built-in varargs type 494 507 class VarArgsType final : public Type {
Note: See TracChangeset
for help on using the changeset viewer.