forked from OSchip/llvm-project
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:
parent
01afeeff1d
commit
6533292684
|
@ -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();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue