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