[cfe-dev] TableGen warning groups: overlapping groups?

Douglas Gregor dgregor at apple.com
Wed Mar 18 09:47:07 PDT 2009


On Mar 18, 2009, at 9:36 AM, Sebastian Redl wrote:

>
> On Wed, 18 Mar 2009 09:12:49 -0700, Ted Kremenek <kremenek at apple.com>
> wrote:
>> Since a warning can belong to multiple Options, what are the  
>> semantics
>> when one Option containing a DiagnosticControlled is enabled and
>> another disabled?
>
> The frontend goes through the options in command line order and  
> enables and
> disables the individual warnings as it comes across the options. Thus,
> later options override the choice made by earlier options.
> This allows the user to enable a large group of warnings, and then
> selectively disable smaller groups or individual warnings.


I think this is exactly the behavior that we want.

	- Doug



More information about the cfe-dev mailing list