[cfe-dev] Question about test show-diag-options.c
John Wiegley
jwiegley at gmail.com
Fri Sep 30 01:19:13 PDT 2011
I am looking at a test, test/Misc/show-diag-options.c, and I see this line:
// CATEGORY_ID: {{.*}}: warning: {{[a-z ]+}} [2]
Can anyone tell me where this [2] comes from? I see that it refers to a diag
category index of some kind, but I can't figure out from .td files why the
category for that particular warning should have an index of "2".
Thanks,
--
John Wiegley
BoostPro Computing, Inc.
http://www.boostpro.com
More information about the cfe-dev
mailing list