Clang: Disable min and max macros

Change-Id: I75f930053ca514dbd32366c628e7e4916ba8550a
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Marco Bubke
2019-02-13 13:37:24 +01:00
parent 2bd0c7c276
commit 35c9e65d3e
5 changed files with 45 additions and 8 deletions

View File

@@ -134,6 +134,7 @@ TEST_F(PchCreator, CreateProjectPartClangCompilerArguments)
ASSERT_THAT(arguments,
ElementsAre("clang++",
"-DNOMINMAX",
"-x",
"c++-header",
"-std=c++98",
@@ -157,6 +158,7 @@ TEST_F(PchCreator, CreateProjectPartClangCompilerArgumentsWithSystemPch)
ASSERT_THAT(arguments,
ElementsAre("clang++",
"-DNOMINMAX",
"-x",
"c++-header",
"-std=c++98",