preprocessor: Replace some flags with a single enum
[gcc.git] / libcpp / ChangeLog
index 040de527b729f86fd1cdb5d9c09dccb446259fe6..622260391da34b370339959e7e811f75b8eddc7f 100644 (file)
@@ -1,3 +1,15 @@
+2020-05-20  Nathan Sidwell  <nathan@acm.org>
+
+       * internal.h (typedef _cpp_file): Delete, unnecessary in C++.
+       (enum _cpp_find_file_kind): New.
+       (_cpp_find_file): Use it, not 3 bools.
+       * files.c (_cpp_find_file): Use _cpp_find_file_kind enum, not
+       bools.
+       (cpp_make_system_header): Break overly long line.
+       (_cpp_stack_include, _cpp_fake_include)
+       (_cpp_do_file_change, _cpp_compare_file_date, _cpp_has_header): Adjust.
+       * init.c (cpp_read_main): Adjust _cpp_find_file call.
+
 2020-05-18  Nathan Sidwell  <nathan@acm.org>
 
        * include/cpplib.h (cpp_get_otions, cpp_get_callbacks)