@@ -663,13 +663,13 @@ class UsingForDirective: public ASTNode
663
663
UsingForDirective (
664
664
int64_t _id,
665
665
SourceLocation const & _location,
666
- std::vector<ASTPointer<IdentifierPath>> _functions ,
666
+ std::vector<ASTPointer<IdentifierPath>> _functionsOrLibrary ,
667
667
bool _usesBraces,
668
668
ASTPointer<TypeName> _typeName,
669
669
bool _global
670
670
):
671
671
ASTNode (_id, _location),
672
- m_functions (_functions ),
672
+ m_functionsOrLibrary (std::move(_functionsOrLibrary) ),
673
673
m_usesBraces (_usesBraces),
674
674
m_typeName (std::move(_typeName)),
675
675
m_global{_global}
@@ -683,13 +683,13 @@ class UsingForDirective: public ASTNode
683
683
TypeName const * typeName () const { return m_typeName.get (); }
684
684
685
685
// / @returns a list of functions or the single library.
686
- std::vector<ASTPointer<IdentifierPath>> const & functionsOrLibrary () const { return m_functions ; }
686
+ std::vector<ASTPointer<IdentifierPath>> const & functionsOrLibrary () const { return m_functionsOrLibrary ; }
687
687
bool usesBraces () const { return m_usesBraces; }
688
688
bool global () const { return m_global; }
689
689
690
690
private:
691
691
// / Either the single library or a list of functions.
692
- std::vector<ASTPointer<IdentifierPath>> m_functions ;
692
+ std::vector<ASTPointer<IdentifierPath>> m_functionsOrLibrary ;
693
693
bool m_usesBraces;
694
694
ASTPointer<TypeName> m_typeName;
695
695
bool m_global = false ;
0 commit comments