[libcpp] Reimplement mkdeps data structures
authorNathan Sidwell <nathan@acm.org>
Tue, 7 May 2019 18:13:57 +0000 (18:13 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 7 May 2019 18:13:57 +0000 (18:13 +0000)
commit61145d937ba07e368d8251fd0ffe0b987b50a7b5
tree7b1638fe2e3117ac734d21c0889d8c341f89c539
parent2ed6d245f7b79de73125edec51b2aa6db9ce3e6d
[libcpp] Reimplement mkdeps data structures

https://gcc.gnu.org/ml/gcc-patches/2019-05/msg00323.html
* files.c (_cpp_stack_file): Empty filenames aren't dependencies.
* mkdeps.c (deps_add_dep): Assert not empty.

From-SVN: r270978
libcpp/ChangeLog
libcpp/files.c
libcpp/mkdeps.c