VideoCommon: version-check clang for workaround

The bug was fixed in clang 3.4.
This commit is contained in:
Tillmann Karras 2014-07-14 02:12:48 +02:00
parent 16582a0459
commit b6f3ae23bc

View File

@ -28,7 +28,7 @@
// This avoids a harmless warning from a system header in Clang;
// see http://llvm.org/bugs/show_bug.cgi?id=16093
#ifdef __clang__
#ifdef __clang__ && __clang_major__ * 100 + __clang_minor__ <= 304
#pragma clang diagnostic ignored "-Wshadow"
#endif