Le 22 février 2012 19:18, Chad Rosier <[email protected]> a écrit :
> Author: mcrosier > Date: Wed Feb 22 12:18:48 2012 > New Revision: 151177 > > URL: http://llvm.org/viewvc/llvm-project?rev=151177&view=rev > Log: > Add new driver warning from r151174 to a warning group. Please let me > know if this isn't the appropriate grouping. > > Modified: > cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td > > Modified: cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td?rev=151177&r1=151176&r2=151177&view=diff > > ============================================================================== > --- cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td (original) > +++ cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td Wed Feb 22 > 12:18:48 2012 > @@ -106,7 +106,8 @@ > "argument unused during compilation: '%0'">, > InGroup<DiagGroup<"unused-command-line-argument">>; > def warn_drv_empty_joined_argument : Warning< > - "joined argument expects addition arg: '%0'">; > + "joined argument expects addition arg: '%0'">, > + InGroup<DiagGroup<"unused-command-line-argument">>; > def warn_drv_not_using_clang_cpp : Warning< > "not using the clang preprocessor due to user override">; > def warn_drv_not_using_clang_cxx : Warning< > > > In the spirit of "avoid magic values", it might be worth creating a named DiagGroup for "unused-command-line-argument". -- Matthieu
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
