diff --git a/clang/lib/Sema/SemaTemplate.h b/clang/lib/Sema/SemaTemplate.h index 183b5a37331d..b400cb3aba72 100644 --- a/clang/lib/Sema/SemaTemplate.h +++ b/clang/lib/Sema/SemaTemplate.h @@ -84,14 +84,6 @@ namespace clang { const TemplateArgumentList &getInnermost() const { 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(); - } }; }