[cfe-commits] r85069 - /cfe/trunk/include/clang/Parse/DeclSpec.h

Chris Lattner sabre at nondot.org
Sun Oct 25 15:05:14 PDT 2009


Author: lattner
Date: Sun Oct 25 17:05:13 2009
New Revision: 85069

URL: http://llvm.org/viewvc/llvm-project?rev=85069&view=rev
Log:
cleanups

Modified:
    cfe/trunk/include/clang/Parse/DeclSpec.h

Modified: cfe/trunk/include/clang/Parse/DeclSpec.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/DeclSpec.h?rev=85069&r1=85068&r2=85069&view=diff

==============================================================================
--- cfe/trunk/include/clang/Parse/DeclSpec.h (original)
+++ cfe/trunk/include/clang/Parse/DeclSpec.h Sun Oct 25 17:05:13 2009
@@ -390,17 +390,20 @@
   };
 
 
-  ObjCDeclSpec() : objcDeclQualifier(DQ_None), PropertyAttributes(DQ_PR_noattr),
-  GetterName(0), SetterName(0) { }
+  ObjCDeclSpec()
+    : objcDeclQualifier(DQ_None), PropertyAttributes(DQ_PR_noattr),
+      GetterName(0), SetterName(0) { }
   ObjCDeclQualifier getObjCDeclQualifier() const { return objcDeclQualifier; }
-  void setObjCDeclQualifier(ObjCDeclQualifier DQVal)
-    { objcDeclQualifier = (ObjCDeclQualifier) (objcDeclQualifier | DQVal); }
+  void setObjCDeclQualifier(ObjCDeclQualifier DQVal) {
+    objcDeclQualifier = (ObjCDeclQualifier) (objcDeclQualifier | DQVal);
+  }
 
-  ObjCPropertyAttributeKind getPropertyAttributes() const
-    { return ObjCPropertyAttributeKind(PropertyAttributes); }
+  ObjCPropertyAttributeKind getPropertyAttributes() const {
+    return ObjCPropertyAttributeKind(PropertyAttributes);
+  }
   void setPropertyAttributes(ObjCPropertyAttributeKind PRVal) {
     PropertyAttributes =
-      (ObjCPropertyAttributeKind) (PropertyAttributes | PRVal);
+      (ObjCPropertyAttributeKind)(PropertyAttributes | PRVal);
   }
 
   const IdentifierInfo *getGetterName() const { return GetterName; }





More information about the cfe-commits mailing list