On Mon, Mar 31, 2014 at 6:06 PM, Richard Smith <[email protected]>wrote:
> > > ================ > Comment at: include/clang/Basic/DiagnosticGroups.td:665 > @@ -664,1 +664,2 @@ > def RemarkBackendPlugin : DiagGroup<"remark-backend-plugin">; > +def BackendOptimizationReport : DiagGroup<"Rpass">; > ---------------- > Do you intend for this to be controlled by `-WRpass`? I don't think you > should add a `DiagGroup` for this one at all. > The problem here is that if I do not create a DiagGroup for the remark, I get the build error: tools/clang/include/clang/Basic/DiagnosticFrontendKinds.td:35:1: error: Error remark_fe_backend_optimization_report not in any diagnostic group def remark_fe_backend_optimization_report: Remark<"%0">, CatBackend; ^ It seems to be forcing me to use a diagnostic group. Not every option is in a group, so I'm missing something here. Diego.
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
