diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-02 00:43:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-02 00:43:15 +0000 |
commit | ae50d501f463d7032320ec31840f60ae68df3a55 (patch) | |
tree | c489a5822539ecfb374e59a4b957dbeb00a7e90e /lib/CodeGen/CGExprConstant.cpp | |
parent | 3e156ad9adc7332e626eedbc86aa4e3b03f17ca5 (diff) |
improve diagnostics for C++ struct ; issues. Before:
t.cc:4:3: error: expected ';' at end of declaration list
int y;
^
t.cc:6:1: error: expected ';' at end of declaration list
};
^
After:
t.cc:3:8: error: expected ';' at end of declaration list
int x
^
;
t.cc:5:8: error: expected ';' at end of declaration list
int z
^
;
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions