[PATCH] A couple of line map fixes
commitc630a81baf3d5a4fb2767bf57d752dae932f94a8
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Oct 2018 12:42:37 +0000 (11 12:42 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Oct 2018 12:42:37 +0000 (11 12:42 +0000)
tree32a29d7459eecd3699a84f59acf2073799e71dbc
parent5d56b42ba9fb4ec3fb5f3708ffba7a47fd0e9e8f
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265037 138bc75d-0d04-0410-961f-82ee72b054a4
libcpp/ChangeLog
libcpp/include/line-map.h
libcpp/line-map.c