Changeset 53d55b6 for src/Common
- Timestamp:
- Oct 27, 2020, 4:14:48 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 1be1e5a, b35ab2d
- Parents:
- 5d2db68
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.h
r5d2db68 r53d55b6 354 354 virtual TypeSubstitution * mutate( TypeSubstitution * sub ) final; 355 355 356 bool isInFunction() const { 357 return inFunction; 358 } 359 356 360 private: 357 361 bool inFunction = false; … … 526 530 public: 527 531 PassVisitor<pass_type> * const visitor = nullptr; 532 533 bool isInFunction() const { 534 return visitor->inFunction; 535 } 528 536 }; 529 537
Note: See TracChangeset
for help on using the changeset viewer.