summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/diag-template-diffing.cpp
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2017-01-02 11:15:42 +0000
committerRenato Golin <renato.golin@linaro.org>2017-01-02 11:15:42 +0000
commitdad96d67515af247a45c8ca1bd4ebb2b27746cac (patch)
tree512ee5bb82e385fd2cd47bbf72bcbd15815d3d1f /clang/test/Misc/diag-template-diffing.cpp
parent21706cbd248804520cb093ec17d296e48a89a65b (diff)
downloadbcm5719-llvm-dad96d67515af247a45c8ca1bd4ebb2b27746cac.tar.gz
bcm5719-llvm-dad96d67515af247a45c8ca1bd4ebb2b27746cac.zip
Revert "DR1391: Check for implicit conversion sequences for non-dependent function template parameters between deduction and substitution. The idea is to accept as many cases as possible, on the basis that substitution failure outside the immediate context is much more common during substitution than during implicit conversion sequence formation."
This reverts commit r290808, as it broken all ARM and AArch64 test-suite test: MultiSource/UnitTests/C++11/frame_layout Also, please, next time, try to write a commit message in according to our guidelines: http://llvm.org/docs/DeveloperPolicy.html#commit-messages llvm-svn: 290811
Diffstat (limited to 'clang/test/Misc/diag-template-diffing.cpp')
-rw-r--r--clang/test/Misc/diag-template-diffing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Misc/diag-template-diffing.cpp b/clang/test/Misc/diag-template-diffing.cpp
index 2192223191b..78083989928 100644
--- a/clang/test/Misc/diag-template-diffing.cpp
+++ b/clang/test/Misc/diag-template-diffing.cpp
@@ -1401,7 +1401,7 @@ void run() {
f(1, integral_constant<bool, true>{});
}
// CHECK-ELIDE-NOTREE: error: no matching function for call to 'f'
-// CHECK-ELIDE-NOTREE: note: candidate function not viable: no known conversion from 'integral_constant<[...], true>' to 'integral_constant<[...], false>' for 2nd argument
+// CHECK-ELIDE-NOTREE: note: candidate function [with T = int] not viable: no known conversion from 'integral_constant<[...], true>' to 'integral_constant<[...], false>' for 2nd argument
}
namespace ZeroArgs {
OpenPOWER on IntegriCloud