Make a variable private now that the conditions requiring it to be
authorReid Spencer <rspencer@reidspencer.com>
Fri, 29 Dec 2006 04:12:03 +0000 (04:12 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 29 Dec 2006 04:12:03 +0000 (04:12 +0000)
protected have been removed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32766 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/DerivedTypes.h

index fafcea490372ea1a8d43910f1026941a1444fbca..3a14e0b2a982d0bef921693fddecb19c7ee61226 100644 (file)
@@ -80,13 +80,6 @@ class FunctionType : public DerivedType {
 
   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);