We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2edd56e commit 4aa5fd2Copy full SHA for 4aa5fd2
ReactCommon/jsi/jsi/jsi.h
@@ -937,7 +937,9 @@ class JSI_EXPORT Value {
937
std::is_base_of<String, T>::value ||
938
std::is_base_of<Object, T>::value,
939
"Value cannot be implicitly move-constructed from this type");
940
+#ifndef __clang_analyzer__ // TODO(macOS GH#774) Disable [bugprone-move-forwarding-reference] when running clang static analysis
941
new (&data_.pointer) T(std::move(other));
942
+#endif // __clang_analyzer__
943
}
944
945
/// Value("foo") will treat foo as a bool. This makes doing that a
0 commit comments