forked from qt-creator/qt-creator
		
	Store in the document's macroUsages only the top-level macro expansions.
This commit is contained in:
		@@ -189,6 +189,15 @@ public:
 | 
			
		||||
            : _begin(begin), _end(end)
 | 
			
		||||
        { }
 | 
			
		||||
 | 
			
		||||
        inline bool isNull() const
 | 
			
		||||
        { return length() == 0; }
 | 
			
		||||
 | 
			
		||||
        inline unsigned position() const
 | 
			
		||||
        { return _begin; }
 | 
			
		||||
 | 
			
		||||
        inline unsigned length() const
 | 
			
		||||
        { return _end - _begin; }
 | 
			
		||||
 | 
			
		||||
        inline unsigned begin() const
 | 
			
		||||
        { return _begin; }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user