From: Argyrios Kyrtzidis Date: Mon, 3 Jan 2011 19:52:51 +0000 (+0000) Subject: Remove a couple of setters that have no callers. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af4bad23013532f4c94cdc27887623f45e6f7020;p=clang Remove a couple of setters that have no callers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122766 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index e3fb20b83c..c8c685a156 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -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.