forked from qt-creator/qt-creator
		
	CPlusPlus: Add new usage tag "Template"
For use in follow-up patch. Change-Id: I49c057280be9b09862a89fa385a7396f1b1093bb Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
		@@ -274,6 +274,10 @@ public:
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                for (auto it2 = it; it2 != m_astPath.rend(); ++it2) {
 | 
			
		||||
                    if ((*it2)->asTemplateDeclaration())
 | 
			
		||||
                        return tags |= Usage::Tag::Template;
 | 
			
		||||
                }
 | 
			
		||||
                return tags;
 | 
			
		||||
            }
 | 
			
		||||
            if (const auto retStmt = (*it)->asReturnStatement()) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user