]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
[4/7] Preprocessor location-kind predicates
authorNathan Sidwell <nathan@acm.org>
Wed, 31 Oct 2018 14:57:13 +0000 (14:57 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 31 Oct 2018 14:57:13 +0000 (14:57 +0000)
commit87bacc2b392f48951491bf6454d7d6bcde127c90
tree2f2758bb919239d08146f1801e6c722d58eb633c
parentc9fb347ea14cd8f519a71374c97547044413a71f
[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.

From-SVN: r265689
libcpp/ChangeLog
libcpp/include/line-map.h
libcpp/line-map.c