Remove the conversion from a multi-level template argument list back to a single template argument list. We no longer need this crutch

llvm-svn: 80390
This commit is contained in:
Douglas Gregor 2009-08-28 20:33:09 +00:00
parent 01afeeff1d
commit 6533292684
1 changed files with 0 additions and 8 deletions

View File

@ -84,14 +84,6 @@ namespace clang {
const TemplateArgumentList &getInnermost() const { const TemplateArgumentList &getInnermost() const {
return *TemplateArgumentLists.front(); return *TemplateArgumentLists.front();
} }
// Implicit conversion to a single template argument list, to facilitate a
// gradual transition to MultiLevelTemplateArgumentLists.
operator const TemplateArgumentList &() const {
assert(getNumLevels() == 1 &&
"Conversion only works with a single level of template arguments");
return *TemplateArgumentLists.front();
}
}; };
} }