Address post-commit review comments.

llvm-svn: 290807
This commit is contained in:
Richard Smith 2017-01-02 02:38:22 +00:00
parent e91473c3c0
commit aac13a7f2b
2 changed files with 1 additions and 4 deletions

View File

@ -134,7 +134,7 @@ LANGOPT(NoBuiltin , 1, 0, "disable builtin functions")
LANGOPT(NoMathBuiltin , 1, 0, "disable math builtin functions")
LANGOPT(GNUAsm , 1, 1, "GNU-style inline assembly")
LANGOPT(CoroutinesTS , 1, 0, "C++ coroutines TS")
LANGOPT(RelaxedTemplateTemplateArgs, 1, 0, "C++17 relaxed matching of tempalte template arguments")
LANGOPT(RelaxedTemplateTemplateArgs, 1, 0, "C++17 relaxed matching of template template arguments")
BENIGN_LANGOPT(ThreadsafeStatics , 1, 1, "thread-safe static initializers")
LANGOPT(POSIXThreads , 1, 0, "POSIX thread support")

View File

@ -4786,9 +4786,6 @@ bool Sema::isTemplateTemplateParameterAtLeastAsSpecializedAs(
QualType AType = Context.getTemplateSpecializationType(X, AArgs);
QualType PType = Context.getTemplateSpecializationType(X, PArgs);
SmallVector<DeducedTemplateArgument, 4> Deduced;
Deduced.resize(A->size());
// ... the function template corresponding to P is at least as specialized
// as the function template corresponding to A according to the partial
// ordering rules for function templates.