Changes in src/ResolvExpr/CurrentObject.h [2b59f55:ea6332d]
- File:
-
- 1 edited
-
src/ResolvExpr/CurrentObject.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CurrentObject.h
r2b59f55 rea6332d 17 17 18 18 #include <list> // for list 19 #include <memory> // for unique_ptr20 19 #include <stack> // for stack 21 #include <vector>22 23 #include "Common/CodeLocation.h"24 20 25 21 class Designation; … … 56 52 } // namespace ResolvExpr 57 53 58 namespace ast {59 // AST class types60 class Designation;61 class InitAlternative;62 class Type;63 64 // forward declaration of internal detail65 class MemberIterator;66 67 /// Builds initializer lists in resolution68 class CurrentObject final {69 std::vector< std::shared_ptr<MemberIterator> > objStack;70 71 public:72 CurrentObject() = default;73 CurrentObject( const CodeLocation & loc, const Type * type );74 75 /// produces a list of alternatives (Type *, Designation *) for the current sub-object's76 /// initializer.77 std::vector< InitAlternative > getOptions();78 };79 } // namespace ast80 81 54 // Local Variables: // 82 55 // tab-width: 4 //
Note:
See TracChangeset
for help on using the changeset viewer.