Add from_macro_definition_at predicate for locations.
authorJason Merrill <jason@redhat.com>
Wed, 21 Sep 2016 19:59:29 +0000 (15:59 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 21 Sep 2016 19:59:29 +0000 (15:59 -0400)
commit63cb3926080e7f7e1b93dd94911ad4720813a081
tree452d1f9ed62885789446c7406e5160af2992acdd
parentc67c64efbe7082e3453f24016795af52179317b2
Add from_macro_definition_at predicate for locations.

gcc/
* input.h (from_macro_definition_at): New.
libcpp/
* line-map.c (linemap_location_from_macro_definition_p): New.
* line-map.h: Declare it.

From-SVN: r240330
gcc/ChangeLog
gcc/input.h
libcpp/ChangeLog
libcpp/include/line-map.h
libcpp/line-map.c