[4/7] Preprocessor location-kind predicates
commit431aa89f433dae0c96c45734150f178d59b2cc5c
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2018 14:57:13 +0000 (31 14:57 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2018 14:57:13 +0000 (31 14:57 +0000)
tree2f2758bb919239d08146f1801e6c722d58eb633c
parentce541b6a02031c9d37dee4693c9ffd8673a02ea9
[4/7] Preprocessor location-kind predicates

https://gcc.gnu.org/ml/gcc-patches/2018-10/msg02040.html
* include/line-map.h (IS_ORDINARY_LOC, IS_MACRO_LOC): New
predicates.
(IS_ADHOC_LOC): Move earlier.
(MAP_ORDINARY_P): Use IS_ORDINARY_LOC.
* line-map.c (linemap_location_from_macro_expansion_p): Use
IS_MACRO_LOC.

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