forked from qt-creator/qt-creator
		
	Clang: Classify *.{moc,qdoc} as CXXSource
This leads to the "-x c++" arguments to libclang for these file types and thus avoids crashes of libclang 3.6. Task-number: QTCREATORBUG-16140 Change-Id: I6141615a1b0b7ad92d7151ad58c304eaf99fb4f3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
		@@ -43,6 +43,7 @@ const char OBJECTIVE_C_SOURCE_MIMETYPE[] = "text/x-objcsrc";
 | 
			
		||||
const char OBJECTIVE_CPP_SOURCE_MIMETYPE[] = "text/x-objc++src";
 | 
			
		||||
const char CPP_HEADER_MIMETYPE[] = "text/x-c++hdr";
 | 
			
		||||
const char QDOC_MIMETYPE[] = "text/x-qdoc";
 | 
			
		||||
const char MOC_MIMETYPE[] = "text/x-moc";
 | 
			
		||||
 | 
			
		||||
// QSettings keys for use by the "New Class" wizards.
 | 
			
		||||
const char CPPTOOLS_SETTINGSGROUP[] = "CppTools";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user