[cfe-dev] line number of matching curly
Glenn Kasten
gkasten at google.com
Tue Aug 31 16:57:45 PDT 2010
I'm using clang 2.7.
I've been enjoying clang's great diagnostics.
So I was surprised by this one below.
Can you please add the line number of the matching open curly
for the expected close curly (in this case line 2)?
Thanks,
Glenn
gkasten$ cat test.c
int test(void)
{
int i;
$ clang test.c
test.c:3:7: error: expected '}'
int i;
^
1 diagnostic generated.
$
--
Glenn Kasten
Android Media
x35392
More information about the cfe-dev
mailing list