]> granicus.if.org Git - clang/commitdiff
Remove a couple of setters that have no callers.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 3 Jan 2011 19:52:51 +0000 (19:52 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 3 Jan 2011 19:52:51 +0000 (19:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122766 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Decl.h

index e3fb20b83c39f7cfd5e4a0cd430c59f0a919996b..c8c685a1567365f4732e0c90b3a99f394b09c4b8 100644 (file)
@@ -1393,7 +1393,6 @@ public:
   }
 
   bool hasWrittenPrototype() const { return HasWrittenPrototype; }
-  void setHasWrittenPrototype(bool P) { HasWrittenPrototype = P; }
 
   /// \brief Whether this function inherited its prototype from a
   /// previous declaration.
@@ -1488,10 +1487,6 @@ public:
   StorageClass getStorageClassAsWritten() const {
     return StorageClass(SClassAsWritten);
   }
-  void setStorageClassAsWritten(StorageClass SC) {
-    assert(isLegalForFunction(SC));
-    SClassAsWritten = SC;
-  }
 
   /// \brief Determine whether the "inline" keyword was specified for this
   /// function.