[cfe-commits] r45808 - /cfe/trunk/Driver/ASTConsumers.cpp

Chris Lattner sabre at nondot.org
Wed Jan 9 17:43:14 PST 2008


Author: lattner
Date: Wed Jan  9 19:43:14 2008
New Revision: 45808

URL: http://llvm.org/viewvc/llvm-project?rev=45808&view=rev
Log:
Fix some 80 col violations

Modified:
    cfe/trunk/Driver/ASTConsumers.cpp

Modified: cfe/trunk/Driver/ASTConsumers.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/ASTConsumers.cpp?rev=45808&r1=45807&r2=45808&view=diff

==============================================================================
--- cfe/trunk/Driver/ASTConsumers.cpp (original)
+++ cfe/trunk/Driver/ASTConsumers.cpp Wed Jan  9 19:43:14 2008
@@ -33,7 +33,7 @@
   public:
     std::ostream& Out;
 
-    DeclPrinter(std::ostream* out) : Out(out ? *out : *llvm::cerr.stream()) {}    
+    DeclPrinter(std::ostream* out) : Out(out ? *out : *llvm::cerr.stream()) {}
     DeclPrinter() : Out(*llvm::cerr.stream()) {}
     
     void PrintDecl(Decl *D);
@@ -245,51 +245,46 @@
       if (PDecl->getPropertyAttributes() != ObjCPropertyDecl::OBJC_PR_noattr) {
         bool first = true;
         Out << " (";
-        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_readonly)
-        {
+        if (PDecl->getPropertyAttributes() & 
+            ObjCPropertyDecl::OBJC_PR_readonly) {
           Out << (first ? ' ' : ',') << "readonly";
           first = false;
         }
         
-        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_getter)
-        {
+        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_getter) {
           Out << (first ? ' ' : ',') << "getter = "
               << PDecl->getGetterName()->getName();
           first = false;
         }
-        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_setter)
-        {
+        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_setter) {
           Out << (first ? ' ' : ',') << "setter = "
               << PDecl->getSetterName()->getName();
           first = false;
         }
         
-        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_assign)
-        {
+        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_assign) {
           Out << (first ? ' ' : ',') << "assign";
           first = false;
         }
         
-        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_readwrite)
-        {
+        if (PDecl->getPropertyAttributes() &
+            ObjCPropertyDecl::OBJC_PR_readwrite) {
           Out << (first ? ' ' : ',') << "readwrite";
           first = false;
         }
         
-        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_retain)
-        {
+        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_retain) {
           Out << (first ? ' ' : ',') << "retain";
           first = false;
         }
         
-        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_copy)
-        {
+        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_copy) {
           Out << (first ? ' ' : ',') << "copy";
           first = false;
         }
         
-        if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_nonatomic)
-        {
+        if (PDecl->getPropertyAttributes() & 
+            ObjCPropertyDecl::OBJC_PR_nonatomic) {
           Out << (first ? ' ' : ',') << "nonatomic";
           first = false;
         }





More information about the cfe-commits mailing list