From 7194131b49cd1dd6340dc278513bae77184d80ac Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 29 Dec 2006 04:12:03 +0000 Subject: [PATCH] Make a variable private now that the conditions requiring it to be 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 | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index fafcea49037..3a14e0b2a98 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -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 &Params, bool IsVarArgs);