With blocking issues fixed, re-enable relaxed template template argument matching by reverting these commits. This reverts commit4198aebc96. This reverts commit2d5634a4b3.
8 lines
569 B
C++
8 lines
569 B
C++
// RUN: %clang -fsyntax-only -### %s 2>&1 | FileCheck --check-prefix=CHECK-DEF %s
|
|
// RUN: %clang -fsyntax-only -frelaxed-template-template-args %s 2>&1 | FileCheck --check-prefix=CHECK-ON %s
|
|
// RUN: %clang -fsyntax-only -fno-relaxed-template-template-args %s 2>&1 | FileCheck --check-prefix=CHECK-OFF %s
|
|
|
|
// CHECK-DEF-NOT: "-cc1"{{.*}} "-fno-relaxed-template-template-args"
|
|
// CHECK-ON: warning: argument '-frelaxed-template-template-args' is deprecated [-Wdeprecated]
|
|
// CHECK-OFF: warning: argument '-fno-relaxed-template-template-args' is deprecated [-Wdeprecated]
|