[llvm-commits] CVS: llvm/include/llvm/DerivedTypes.h

Reid Spencer reid at x10sys.com
Thu Dec 28 20:12:19 PST 2006



Changes in directory llvm/include/llvm:

DerivedTypes.h updated: 1.73 -> 1.74
---
Log message:

Make a variable private now that the conditions requiring it to be
protected have been removed.


---
Diffs of the changes:  (+0 -7)

 DerivedTypes.h |    7 -------
 1 files changed, 7 deletions(-)


Index: llvm/include/llvm/DerivedTypes.h
diff -u llvm/include/llvm/DerivedTypes.h:1.73 llvm/include/llvm/DerivedTypes.h:1.74
--- llvm/include/llvm/DerivedTypes.h:1.73	Fri Dec  8 12:06:14 2006
+++ llvm/include/llvm/DerivedTypes.h	Thu Dec 28 22:12:03 2006
@@ -80,13 +80,6 @@
 
   FunctionType(const FunctionType &);                   // Do not implement
   const FunctionType &operator=(const FunctionType &);  // Do not implement
-protected:
-  /// This should really be private, but it squelches a bogus warning
-  /// from GCC to make them protected:  warning: `class FunctionType' only
-  /// defines private constructors and has no friends
-  ///
-  /// Private ctor - Only can be created by a static member...
-  ///
   FunctionType(const Type *Result, const std::vector<const Type*> &Params,
                bool IsVarArgs);
 






More information about the llvm-commits mailing list