[cfe-commits] r39494 - /cfe/cfe/trunk/include/clang/AST/Type.h

clattner at cs.uiuc.edu clattner at cs.uiuc.edu
Wed Jul 11 09:44:58 PDT 2007


Author: clattner
Date: Wed Jul 11 11:44:57 2007
New Revision: 39494

URL: http://llvm.org/viewvc/llvm-project?rev=39494&view=rev
Log:
fit in 80 cols

Modified:
    cfe/cfe/trunk/include/clang/AST/Type.h

Modified: cfe/cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/include/clang/AST/Type.h?rev=39494&r1=39493&r2=39494&view=diff

==============================================================================
--- cfe/cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/cfe/trunk/include/clang/AST/Type.h Wed Jul 11 11:44:57 2007
@@ -131,8 +131,8 @@
 
 } // end clang.
 
-/// Implement simplify_type for QualType, so that we can dyn_cast from QualType to
-/// a specific Type class.
+/// Implement simplify_type for QualType, so that we can dyn_cast from QualType
+/// to a specific Type class.
 template<> struct simplify_type<const clang::QualType> {
   typedef clang::Type* SimpleType;
   static SimpleType getSimplifiedValue(const clang::QualType &Val) {
@@ -183,7 +183,7 @@
   TypeClass TC : 3;
 protected:
   Type(TypeClass tc, QualType Canonical)
-    : CanonicalType(Canonical.isNull() ? QualType(this,0) : Canonical), TC(tc) {}
+    : CanonicalType(Canonical.isNull() ? QualType(this,0) : Canonical), TC(tc){}
   virtual ~Type();
   friend class ASTContext;
 public:  
@@ -327,7 +327,8 @@
   /// Variable Length Arrays). VLA's are only permitted within a function block. 
   Expr *SizeExpr;
   
-  ArrayType(QualType et, ArraySizeModifier sm, unsigned tq, QualType can, Expr *e)
+  ArrayType(QualType et, ArraySizeModifier sm, unsigned tq, QualType can,
+            Expr *e)
     : Type(Array, can), SizeModifier(sm), IndexTypeQuals(tq), ElementType(et),
       SizeExpr(e) {}
   friend class ASTContext;  // ASTContext creates these.
@@ -368,7 +369,7 @@
   // The type returned by the function.
   QualType ResultType;
 protected:
-  FunctionType(TypeClass tc, QualType res, bool SubclassInfo, QualType Canonical)
+  FunctionType(TypeClass tc, QualType res, bool SubclassInfo,QualType Canonical)
     : Type(tc, Canonical), SubClassData(SubclassInfo), ResultType(res) {}
   bool getSubClassData() const { return SubClassData; }
 public:





More information about the cfe-commits mailing list