Title: [294139] trunk/Source/WTF
Revision
294139
Author
[email protected]
Date
2022-05-12 19:12:49 -0700 (Thu, 12 May 2022)

Log Message

-Wattributes warnings from AtomString.cpp and WTFString.cpp
https://bugs.webkit.org/show_bug.cgi?id=240358

Patch by Michael Catanzaro <[email protected]> on 2022-05-12
Reviewed by Yusuke Suzuki.

* Source/WTF/wtf/text/AtomString.cpp:
* Source/WTF/wtf/text/WTFString.cpp:

Canonical link: https://commits.webkit.org/250509@main

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (294138 => 294139)


--- trunk/Source/WTF/ChangeLog	2022-05-13 01:49:32 UTC (rev 294138)
+++ trunk/Source/WTF/ChangeLog	2022-05-13 02:12:49 UTC (rev 294139)
@@ -1,3 +1,13 @@
+2022-05-12  Michael Catanzaro  <[email protected]>
+
+        -Wattributes warnings from AtomString.cpp and WTFString.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=240358
+
+        Reviewed by Yusuke Suzuki.
+
+        * wtf/text/AtomString.cpp:
+        * wtf/text/WTFString.cpp:
+
 2022-05-11  Kate Cheney  <[email protected]>
 
         Mail compose: right clicking an image attachment selects it

Modified: trunk/Source/WTF/wtf/text/AtomString.cpp (294138 => 294139)


--- trunk/Source/WTF/wtf/text/AtomString.cpp	2022-05-13 01:49:32 UTC (rev 294138)
+++ trunk/Source/WTF/wtf/text/AtomString.cpp	2022-05-13 02:12:49 UTC (rev 294139)
@@ -32,8 +32,8 @@
 
 namespace WTF {
 
-WTF_EXPORT_PRIVATE const StaticAtomString nullAtomData { nullptr };
-WTF_EXPORT_PRIVATE const StaticAtomString emptyAtomData { &StringImpl::s_emptyAtomString };
+const StaticAtomString nullAtomData { nullptr };
+const StaticAtomString emptyAtomData { &StringImpl::s_emptyAtomString };
 
 template<AtomString::CaseConvertType type>
 ALWAYS_INLINE AtomString AtomString::convertASCIICase() const

Modified: trunk/Source/WTF/wtf/text/WTFString.cpp (294138 => 294139)


--- trunk/Source/WTF/wtf/text/WTFString.cpp	2022-05-13 01:49:32 UTC (rev 294138)
+++ trunk/Source/WTF/wtf/text/WTFString.cpp	2022-05-13 02:12:49 UTC (rev 294139)
@@ -635,8 +635,8 @@
     return static_cast<float>(toDoubleType<UChar, TrailingJunkPolicy::Allow>(data, length, nullptr, parsedLength));
 }
 
-WTF_EXPORT_PRIVATE const StaticString nullStringData { nullptr };
-WTF_EXPORT_PRIVATE const StaticString emptyStringData { &StringImpl::s_emptyAtomString };
+const StaticString nullStringData { nullptr };
+const StaticString emptyStringData { &StringImpl::s_emptyAtomString };
 
 } // namespace WTF
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to