Commit 27991f2c authored by Marco Bubke's avatar Marco Bubke

Clang: Add -Wno-shadow

Change-Id: Icc6b08a0eea026d3126c236a37318eaee9f3c0e8
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent bdd82b7a
...@@ -219,6 +219,7 @@ private: ...@@ -219,6 +219,7 @@ private:
add(QStringLiteral("-Wno-global-constructors")); add(QStringLiteral("-Wno-global-constructors"));
add(QStringLiteral("-Wno-gnu-zero-variadic-macro-arguments")); add(QStringLiteral("-Wno-gnu-zero-variadic-macro-arguments"));
add(QStringLiteral("-Wno-documentation")); add(QStringLiteral("-Wno-documentation"));
add(QStringLiteral("-Wno-shadow"));
if (m_projectPart->languageVersion >= ProjectPart::CXX98) if (m_projectPart->languageVersion >= ProjectPart::CXX98)
add(QStringLiteral("-Wno-missing-prototypes")); add(QStringLiteral("-Wno-missing-prototypes"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment