forked from qt-creator/qt-creator
Squish: Prepare for clang > 9
Change-Id: I4cf6e8be63568d56388b0cf87ae692735bf4c113 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -209,7 +209,8 @@ def __getExpectedCompilers__():
|
|||||||
expected.extend(__getWinCompilers__())
|
expected.extend(__getWinCompilers__())
|
||||||
compilers = ["g++", "gcc"]
|
compilers = ["g++", "gcc"]
|
||||||
if platform.system() in ('Linux', 'Darwin'):
|
if platform.system() in ('Linux', 'Darwin'):
|
||||||
for c in ('clang++', 'clang', 'afl-clang', 'clang-[0-9]', 'clang-[0-9].[0-9]',
|
for c in ('clang++', 'clang', 'afl-clang',
|
||||||
|
'clang-[0-9]', 'clang-[0-9].[0-9]', 'clang-1[0-9]', 'clang-1[0-9].[0-9]',
|
||||||
'*g++*', '*gcc*'):
|
'*g++*', '*gcc*'):
|
||||||
compilers.extend(findAllFilesInPATH(c))
|
compilers.extend(findAllFilesInPATH(c))
|
||||||
if platform.system() == 'Darwin':
|
if platform.system() == 'Darwin':
|
||||||
|
Reference in New Issue
Block a user