Changes in src/Common/PassVisitor.h [37cdd97:c6c682cf]
- File:
-
- 1 edited
-
src/Common/PassVisitor.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.h
r37cdd97 rc6c682cf 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; 362 bool atFunctionTop = false; 358 363 359 364 template<typename pass_t> friend void acceptAll( std::list< Declaration* > &decls, PassVisitor< pass_t >& visitor ); … … 526 531 public: 527 532 PassVisitor<pass_type> * const visitor = nullptr; 533 534 bool isInFunction() const { 535 return visitor->isInFunction(); 536 } 528 537 }; 529 538
Note:
See TracChangeset
for help on using the changeset viewer.