http://llvm.org/bugs/show_bug.cgi?id=13181
Bug #: 13181
Summary: unmatched parenthesis, bracket and angle bracket
Product: clang
Version: 3.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Currently clang shows which braces is unmatched:
ivan@liberty:~$ cat 3.cpp
void f()
{
ivan@liberty:~$ clang++ 3.cpp
3.cpp:3:1: error: expected '}'
^
3.cpp:2:1: note: to match this '{'
{
^
But it does not show which parenthesis, bracket or angle bracket is unmatched:
ivan@liberty:~$ clang++ 2.cpp
2.cpp:1:6: error: variable has incomplete type 'void'
void f(;
^
2.cpp:1:8: error: expected expression
void f(;
^
ivan@liberty:~$ clang++ 4.cpp
4.cpp:5:13: error: expected '>'
void f<int();
^
4.cpp:5:1: warning: declaration does not declare anything
[-Wmissing-declarations]
void f<int();
^~~~
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs