summaryrefslogtreecommitdiff
path: root/libcc1/names.hh
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-16 17:25:45 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2015-12-16 17:25:45 +0000
commitb49f1fbb79e540b892774b94d442603bc891a7a4 (patch)
tree1ee547d74e7d3d0c1c961fb845833707dd113d75 /libcc1/names.hh
parent6fb10557280fd8b0b614816f12bedad18590d487 (diff)
downloadgcc-b49f1fbb79e540b892774b94d442603bc891a7a4.tar.gz
C FE: use correct location range for static assertions
gcc/c/ChangeLog: * c-parser.c (c_parser_static_assert_declaration_no_semi): Use the expression location, falling back on the first token location, rather than always using the latter. gcc/testsuite/ChangeLog: * gcc.dg/diagnostic-range-static-assert.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231704 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcc1/names.hh')
0 files changed, 0 insertions, 0 deletions