Index: Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp |
diff --git a/Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp b/Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp |
index 5dd8094fee9011efa722aefa5fe1522e8c41b79c..8364f8a1c737d8780de7e6d164064a18d1d6ee79 100644 |
--- a/Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp |
+++ b/Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp |
@@ -20,7 +20,16 @@ |
namespace blink { |
+// Suppress warning: global constructors, because struct WrapperTypeInfo is trivial |
+// and does not depend on another global objects. |
+#if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
+#pragma clang diagnostic push |
+#pragma clang diagnostic ignored "-Wglobal-constructors" |
+#endif |
const WrapperTypeInfo V8Uint8ClampedArray::wrapperTypeInfo = { gin::kEmbedderBlink, 0, V8Uint8ClampedArray::refObject, V8Uint8ClampedArray::derefObject, V8Uint8ClampedArray::trace, 0, 0, V8Uint8ClampedArray::preparePrototypeObject, V8Uint8ClampedArray::installConditionallyEnabledProperties, "Uint8ClampedArray", &V8ArrayBufferView::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCountedObject }; |
+#if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
+#pragma clang diagnostic pop |
+#endif |
// This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestUint8ClampedArray.h. |
// For details, see the comment of DEFINE_WRAPPERTYPEINFO in |