[cfe-commits] r122766 - /cfe/trunk/include/clang/AST/Decl.h
Argyrios Kyrtzidis
akyrtzi at gmail.com
Mon Jan 3 11:52:51 PST 2011
Author: akirtzidis
Date: Mon Jan 3 13:52:51 2011
New Revision: 122766
URL: http://llvm.org/viewvc/llvm-project?rev=122766&view=rev
Log:
Remove a couple of setters that have no callers.
Modified:
cfe/trunk/include/clang/AST/Decl.h
Modified: cfe/trunk/include/clang/AST/Decl.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Decl.h?rev=122766&r1=122765&r2=122766&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Decl.h (original)
+++ cfe/trunk/include/clang/AST/Decl.h Mon Jan 3 13:52:51 2011
@@ -1393,7 +1393,6 @@
}
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 @@
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.
More information about the cfe-commits
mailing list