Hans, do you think it'd make sense to make the MSVC syntax default in the diagnostic pretty printer?

At least "__thiscall" syntax is easier on the eyes and easier to match with a regex.

Alp.


-  (pc->*pmv)(); // expected-error{{call to pointer to member function of type 
'void () volatile' drops 'const' qualifier}}

+  (pc->*pmv)(); // expected-error-re{{call to pointer to member function of 
type 'void (){{( __attribute__\(\(thiscall\)\))?}} volatile' drops 'const' 
qualifier}}
    (pc->*pmcv)();

--
http://www.nuanti.com
the browser experts

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to