Make a ctor protected

llvm-svn: 48401
diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h
index b53d5d3..7c3560c 100644
--- a/clang/include/clang/AST/Decl.h
+++ b/clang/include/clang/AST/Decl.h
@@ -514,13 +514,14 @@
 class FieldDecl : public NamedDecl {
   QualType DeclType;  
   Expr *BitWidth;
+protected:
+  FieldDecl(Kind DK, SourceLocation L, IdentifierInfo *Id, QualType T,
+            Expr *BW = NULL)
+    : NamedDecl(DK, L, Id), DeclType(T), BitWidth(BW) {}
 public:
   FieldDecl(SourceLocation L, IdentifierInfo *Id, QualType T, 
             Expr *BW = NULL)
     : NamedDecl(Field, L, Id), DeclType(T), BitWidth(BW) {}
-  FieldDecl(Kind DK, SourceLocation L, IdentifierInfo *Id, QualType T,
-            Expr *BW = NULL)
-    : NamedDecl(DK, L, Id), DeclType(T), BitWidth(BW) {}
 
   QualType getType() const { return DeclType; }
   QualType getCanonicalType() const { return DeclType.getCanonicalType(); }