diff options
author | Anders Carlsson <andersca@mac.com> | 2009-06-17 00:35:01 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-06-17 00:35:01 +0000 |
commit | 6f10d48b7da44da324247ddbf54e2ddda8e22dd3 (patch) | |
tree | 8834d6b2a9528d7762ee0e049153e13ef16719e1 | |
parent | 1fe5ffd005953bc1208267127b00d6be71a44ca6 (diff) |
Remove all non-const getters from TemplateArgumentList.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73589 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/DeclTemplate.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/clang/AST/DeclTemplate.h b/include/clang/AST/DeclTemplate.h index 9d0913325f..af06965f84 100644 --- a/include/clang/AST/DeclTemplate.h +++ b/include/clang/AST/DeclTemplate.h @@ -696,13 +696,6 @@ public: } /// \brief Retrieve the template argument at a given index. - TemplateArgument &get(unsigned Idx) { - assert(Idx < NumArguments && "Invalid template argument index"); - return getFlatArgumentList()[Idx]; - } - - /// \brief Retrieve the template argument at a given index. - TemplateArgument &operator[](unsigned Idx) { return get(Idx); } const TemplateArgument &operator[](unsigned Idx) const { return get(Idx); } /// \brief Retrieve the number of template arguments in this @@ -714,9 +707,6 @@ public: unsigned flat_size() const { return NumArguments; } /// \brief Retrieve the flattened template argument list. - TemplateArgument *getFlatArgumentList() { - return Arguments.getPointer(); - } const TemplateArgument *getFlatArgumentList() const { return Arguments.getPointer(); } |