forked from qt-creator/qt-creator
		
	ClangRefactoring: Do not save macros with invalid fileId
Change-Id: I2933fc3695ebf03b3e4f05a0435ca4d629877d2c Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
		@@ -192,6 +192,9 @@ public:
 | 
			
		||||
 | 
			
		||||
    static void addUsedMacro(UsedMacro &&usedMacro, UsedMacros &usedMacros)
 | 
			
		||||
    {
 | 
			
		||||
        if (!usedMacro.filePathId.isValid())
 | 
			
		||||
            return;
 | 
			
		||||
 | 
			
		||||
        auto found = std::lower_bound(usedMacros.begin(),
 | 
			
		||||
                                      usedMacros.end(), usedMacro);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user