summaryrefslogtreecommitdiffstats
path: root/clang
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
commita8636f1b3ed13def5223095cd538d1f90e6861fa (patch)
tree7501771ca0d1da982f46b0c2241844ddd092405f /clang
parent76dbe8c800c818d4ebe414999cf9e44834bb31a7 (diff)
downloadbcm5719-llvm-a8636f1b3ed13def5223095cd538d1f90e6861fa.tar.gz
bcm5719-llvm-a8636f1b3ed13def5223095cd538d1f90e6861fa.zip
Remove a couple of setters that have no callers.
llvm-svn: 122766
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/AST/Decl.h5
1 files changed, 0 insertions, 5 deletions
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.
OpenPOWER on IntegriCloud