aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-01-03 19:52:51 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-01-03 19:52:51 +0000
commitaf4bad23013532f4c94cdc27887623f45e6f7020 (patch)
tree0180a520b8ab43996f5f934fa18caa0efd84f210
parent3437f1f1294499d4ef306c1089fcb3e29ec2aa68 (diff)
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
-rw-r--r--include/clang/AST/Decl.h5
1 files changed, 0 insertions, 5 deletions
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.