From a8636f1b3ed13def5223095cd538d1f90e6861fa Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Mon, 3 Jan 2011 19:52:51 +0000 Subject: Remove a couple of setters that have no callers. llvm-svn: 122766 --- clang/include/clang/AST/Decl.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'clang') diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h index e3fb20b83c3..c8c685a1567 100644 --- a/clang/include/clang/AST/Decl.h +++ b/clang/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. -- cgit v1.2.3