<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1437845812001_8665">Hello,</div><div id="yui_3_16_0_1_1437845812001_8686"><br></div><div dir="ltr" id="yui_3_16_0_1_1437845812001_8685">I was trying to setup clang to report back which trait failed in enable_if. I would like an extra note for each trait that failed. However, the enable_if diagnostic happens during overload resolution failure, which clang only reports one diagnostic back. Even though it is multiple notes, it could be thought of as one diagnostic. Is there a way to nest multiple note diagnostics into one diagnostics? <br></div><div id="yui_3_16_0_1_1437845812001_10159" dir="ltr"><br></div><div id="yui_3_16_0_1_1437845812001_10161" dir="ltr">Otherwise, it seems I would have to encode them into the diagnostic, and then emit them during overload resolution failure. I am not sure the best approach, and I don't fully understand how the diagnostic system work. Perhaps there is a better way.</div><div id="yui_3_16_0_1_1437845812001_10643" dir="ltr"><br></div><div id="yui_3_16_0_1_1437845812001_10786" dir="ltr">Thanks,</div><div dir="ltr">Paul<br></div><div id="yui_3_16_0_1_1437845812001_8635"><br></div><div id="yui_3_16_0_1_1437845812001_8634"><br></div><div id="yui_3_16_0_1_1437845812001_8633"><br></div></div></body></html>