<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 31, 2014 at 6:06 PM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk" target="_blank" class="cremed">richard@metafoo.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>
================<br>
Comment at: include/clang/Basic/DiagnosticGroups.td:665<br>
@@ -664,1 +664,2 @@<br>
<div class=""> def RemarkBackendPlugin : DiagGroup<"remark-backend-plugin">;<br>
+def BackendOptimizationReport : DiagGroup<"Rpass">;<br>
</div>----------------<br>
Do you intend for this to be controlled by `-WRpass`? I don't think you should add a `DiagGroup` for this one at all.<br></blockquote><div><br></div><div>The problem here is that if I do not create a DiagGroup for the remark, I get the build error:</div>
<div><br></div><div>tools/clang/include/clang/Basic/DiagnosticFrontendKinds.td:35:1: error: Error remark_fe_backend_optimization_report not in any diagnostic group</div><div>def remark_fe_backend_optimization_report: Remark<"%0">, CatBackend;</div>
<div>^</div><div><br></div><div>It seems to be forcing me to use a diagnostic group. Not every option is in a group, so I'm missing something here.</div><div><br></div><div><br></div><div>Diego.</div></div></div></div>