diff options
author | Nathan Sidwell <nathan@acm.org> | 2018-10-11 12:42:37 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2018-10-11 12:42:37 +0000 |
commit | c1b48b29294ed58e72129db4db42adab3d0d1a9a (patch) | |
tree | 32a29d7459eecd3699a84f59acf2073799e71dbc /libcpp/macro.c | |
parent | c7790bdbd97889b39fde3e0249b398a9bf5fb43b (diff) | |
download | gcc-c1b48b29294ed58e72129db4db42adab3d0d1a9a.zip gcc-c1b48b29294ed58e72129db4db42adab3d0d1a9a.tar.gz gcc-c1b48b29294ed58e72129db4db42adab3d0d1a9a.tar.bz2 |
[PATCH] A couple of line map fixes
https://gcc.gnu.org/ml/gcc-patches/2018-10/msg00623.html
* include/line-map.h (LINEMAPS_MACRO_LOWEST_LOCATION): Fix
off-by-one error.
* line-map.c (linemap_enter_macro): Use RAII. Clear all of the
macro_locations.
From-SVN: r265037
Diffstat (limited to 'libcpp/macro.c')
0 files changed, 0 insertions, 0 deletions