Prefix the typedef in WTF_MAKE_FAST_ALLOCATED with underscores
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Feb 2012 00:24:02 +0000 (00:24 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Feb 2012 00:24:02 +0000 (00:24 +0000)
https://bugs.webkit.org/show_bug.cgi?id=77788

Reviewed by Andreas Kling.

The current typedef name, 'ThisIsHereToForceASemicolonAfterThisMacro', shows up when trying to
code-complete 'this' in Xcode. Prefix the typedef with two underscores to stop this from happening.

* wtf/FastAllocBase.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@106707 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wtf/FastAllocBase.h

index 89966e43fd00b9ec57c2739113db0bb1d3f1ac0b..9f464aa9105b6b5c6551a9f7cd163a9dfd92e9cd 100644 (file)
@@ -1,3 +1,15 @@
+2012-02-03  Anders Carlsson  <andersca@apple.com>
+
+        Prefix the typedef in WTF_MAKE_FAST_ALLOCATED with underscores
+        https://bugs.webkit.org/show_bug.cgi?id=77788
+
+        Reviewed by Andreas Kling.
+
+        The current typedef name, 'ThisIsHereToForceASemicolonAfterThisMacro', shows up when trying to 
+        code-complete 'this' in Xcode. Prefix the typedef with two underscores to stop this from happening.
+
+        * wtf/FastAllocBase.h:
+
 2012-02-03  Rob Buis  <rbuis@rim.com>
 
         Fix alignment warnings in ARMv7
index 1edbed94df1570c06b1d87f0a1c3d6f4d95404e3..b9ab0cab146917a3ef1768f2eee36899ed5ffde2 100644 (file)
@@ -129,7 +129,7 @@ public: \
         return location; \
     } \
 private: \
-typedef int ThisIsHereToForceASemicolonAfterThisMacro
+typedef int __thisIsHereToForceASemicolonAfterThisMacro
 
 namespace WTF {