diff options
author | Richard Trieu <rtrieu@google.com> | 2015-05-15 22:07:49 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2015-05-15 22:07:49 +0000 |
commit | 0ff51f39deacb0622f64e2c6100edfa87a6081b5 (patch) | |
tree | 4d360c50d741019a26436adc9dbe7155156a48e3 /clang/test/Misc/diag-template-diffing.cpp | |
parent | 3de83e4098af7e10175487d831d259108310b313 (diff) | |
download | bcm5719-llvm-0ff51f39deacb0622f64e2c6100edfa87a6081b5.tar.gz bcm5719-llvm-0ff51f39deacb0622f64e2c6100edfa87a6081b5.zip |
Reverse the order of types in the reference dropping qualifiers error.
The error has the form ... 'int' ... 'const int' ... dropped qualifiers. At
first glance, it appears that the const qualifier is added. Reverse the types
so that the second type is less qualified than the first.
llvm-svn: 237482
Diffstat (limited to 'clang/test/Misc/diag-template-diffing.cpp')
-rw-r--r-- | clang/test/Misc/diag-template-diffing.cpp | 2 |
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 0f2edfb6354..367de4b8a74 100644 --- a/clang/test/Misc/diag-template-diffing.cpp +++ b/clang/test/Misc/diag-template-diffing.cpp @@ -1258,7 +1258,7 @@ using T = condition<(is_const())>; void foo(const T &t) { T &t2 = t; } -// CHECK-ELIDE-NOTREE: binding of reference to type 'condition<[...]>' to a value of type 'const condition<[...]>' drops qualifiers +// CHECK-ELIDE-NOTREE: binding value of type 'const condition<[...]>' to reference of type 'condition<[...]>' drops qualifiers } namespace BoolArgumentBitExtended { |