r291411 - Fix test for targets whose preferred spelling for an 8-byte int is 'long long', not 'long'.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 8 17:10:14 PST 2017
Author: rsmith
Date: Sun Jan 8 19:10:14 2017
New Revision: 291411
URL: http://llvm.org/viewvc/llvm-project?rev=291411&view=rev
Log:
Fix test for targets whose preferred spelling for an 8-byte int is 'long long', not 'long'.
Modified:
cfe/trunk/test/SemaCXX/attr-mode-tmpl.cpp
Modified: cfe/trunk/test/SemaCXX/attr-mode-tmpl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/attr-mode-tmpl.cpp?rev=291411&r1=291410&r2=291411&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/attr-mode-tmpl.cpp (original)
+++ cfe/trunk/test/SemaCXX/attr-mode-tmpl.cpp Sun Jan 8 19:10:14 2017
@@ -45,7 +45,7 @@ void CheckMachineMode() {
// Check attributes on function parameters.
template <class T1, class T2>
-void CheckParameters(T1 __attribute__((mode(SI))) paramSI, // expected-note{{ignored: substitution failure}} expected-note-re{{not viable: no known conversion from '{{.*}}' (vector of 4 'long' values) to 'EnumType' for 2nd argument}}
+void CheckParameters(T1 __attribute__((mode(SI))) paramSI, // expected-note{{ignored: substitution failure}} expected-note-re{{not viable: no known conversion from '{{.*}}' (vector of 4 '{{.*}}' values) to 'EnumType' for 2nd argument}}
T1 __attribute__((mode(V4DI))) paramV4DI, // expected-warning{{deprecated}}
T2 __attribute__((mode(SF))) paramSF,
T2 __attribute__((mode(V4DF))) paramV4DF) { // expected-warning{{deprecated}}
More information about the cfe-commits
mailing list