Changes in src/AST/Util.hpp [d3d54b3:17fa94f]
- File:
-
- 1 edited
-
src/AST/Util.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Util.hpp
rd3d54b3 r17fa94f 26 26 void checkInvariants( TranslationUnit & ); 27 27 28 /// Maintains an AST-module state for contextual information needed in29 /// ast::* implementations, notably constructors:30 /// early: while parsing, use bootstrap versions31 /// late: once a whole TranslationUnit exists, use its answers32 /// When the program is in the later state, ast::* construcors effectively get33 /// the benefit of WithTranslationUnit, without having to pass them one.34 class TranslationDeps {35 36 TranslationDeps() = delete;37 38 friend class SizeofExpr;39 friend class AlignofExpr;40 friend class CountofExpr;41 friend class OffsetofExpr;42 friend class OffsetPackExpr;43 44 /// Appropriate return type for built-in expressions that report on sizes45 static const Type * getSizeType();46 47 public:48 /// Transition from early to late states49 static void evolve( TranslationUnit & );50 };51 52 28 }
Note:
See TracChangeset
for help on using the changeset viewer.