forked from qt-creator/qt-creator
		
	C++: Expand arguments in nested function-like macros
Task-number: QTCREATORBUG-13219 Change-Id: I319fe39d696ccc28230d421b1395faf4dd452b03 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
		
				
					committed by
					
						 Orgad Shaneh
						Orgad Shaneh
					
				
			
			
				
	
			
			
			
						parent
						
							5460250281
						
					
				
				
					commit
					c24ffc4dee
				
			| @@ -905,7 +905,7 @@ void Preprocessor::skipPreprocesorDirective(PPToken *tk) | ||||
|  | ||||
| bool Preprocessor::handleIdentifier(PPToken *tk) | ||||
| { | ||||
|     ScopedBoolSwap s(m_state.m_inPreprocessorDirective, true); | ||||
|     ScopedBoolSwap s(m_state.m_inPreprocessorDirective, !tk->f.expanded); | ||||
|  | ||||
|     static const QByteArray ppLine("__LINE__"); | ||||
|     static const QByteArray ppFile("__FILE__"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user