r197110 - Switching to using hasGlobalStorage instead of !hasLocalStorage for better clarity.

Aaron Ballman aaron at aaronballman.com
Wed Dec 11 18:03:50 PST 2013


Author: aaronballman
Date: Wed Dec 11 20:03:50 2013
New Revision: 197110

URL: http://llvm.org/viewvc/llvm-project?rev=197110&view=rev
Log:
Switching to using hasGlobalStorage instead of !hasLocalStorage for better clarity.

Modified:
    cfe/trunk/include/clang/Basic/Attr.td

Modified: cfe/trunk/include/clang/Basic/Attr.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Attr.td?rev=197110&r1=197109&r2=197110&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Attr.td (original)
+++ cfe/trunk/include/clang/Basic/Attr.td Wed Dec 11 20:03:50 2013
@@ -54,7 +54,7 @@ def SharedVar : SubsetSubject<Var,
                               [{S->hasGlobalStorage() && !S->getTLSKind()}]>;
 
 def GlobalVar : SubsetSubject<Var,
-                             [{!S->hasLocalStorage()}]>;
+                             [{S->hasGlobalStorage()}]>;
 
 // A single argument to an attribute
 class Argument<string name, bit optional> {





More information about the cfe-commits mailing list