forked from qt-creator/qt-creator
		
	C++11: Parse alias declarations.
The parser no longer fails declarations like: using Foo = std::vector<int>::iterator; Change-Id: Ib3a552ebbe0147fa138db6448a52cdba8f9b9207 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
		
							
								
								
									
										2
									
								
								src/libs/3rdparty/cplusplus/Parser.h
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/libs/3rdparty/cplusplus/Parser.h
									
									
									
									
										vendored
									
									
								
							@@ -191,6 +191,7 @@ public:
 | 
			
		||||
    bool parseUnqualifiedName(NameAST *&node, bool acceptTemplateId = true);
 | 
			
		||||
    bool parseUsing(DeclarationAST *&node);
 | 
			
		||||
    bool parseUsingDirective(DeclarationAST *&node);
 | 
			
		||||
    bool parseAliasDeclaration(DeclarationAST *&node);
 | 
			
		||||
    bool parseWhileStatement(StatementAST *&node);
 | 
			
		||||
 | 
			
		||||
    void parseExpressionWithOperatorPrecedence(ExpressionAST *&lhs, int minPrecedence);
 | 
			
		||||
@@ -256,6 +257,7 @@ public:
 | 
			
		||||
    void skipUntilDeclaration();
 | 
			
		||||
    bool skipUntilStatement();
 | 
			
		||||
    bool skip(int l, int r);
 | 
			
		||||
    int find(int token, int stopAt);
 | 
			
		||||
 | 
			
		||||
    bool lookAtTypeParameter() const;
 | 
			
		||||
    bool lookAtCVQualifier() const;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user