diff options
| author | Jason Merrill <jason@redhat.com> | 2025-12-07 15:34:15 +0800 |
|---|---|---|
| committer | Jason Merrill <jason@redhat.com> | 2025-12-07 15:34:15 +0800 |
| commit | a5fa3cc54ea4b30663eedc2e500dd0d646145529 (patch) | |
| tree | b4f00ff584bc2b50c934b3794216fd7b66297ff1 /gcc/algol68/a68-low-unions.cc | |
| parent | a6c50ec2c6ebcbda2b032eee0552a6a486355e12 (diff) | |
| download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 | |
Back in r78875 mrs added cpp_get_path/dir accessors for _cpp_file in order
to interface with the darwin framework system. But now I notice that the
latter duplicates the better-named _cpp_get_file_dir, and I'm inclined to
rename the former to match.
Perhaps we should drop the initial underscore since these are no
longer internal interfaces; OTOH, _cpp_hashnode_value and
_cpp_backup_tokens still have the initial underscore in cpplib.h.
libcpp/ChangeLog:
* include/cpplib.h (cpp_get_path, cpp_get_dir): Remove.
(_cpp_get_file_path, _cpp_get_file_name, _cpp_get_file_stat)
(_cpp_get_file_dir): Move prototypes from...
* internal.h: ...here.
* files.cc (_cpp_get_file_path): Rename from...
(cpp_get_path): ...this.
(cpp_get_dir): Remove.
gcc/ChangeLog:
* config/darwin-c.cc (find_subframework_header): Use
_cpp_get_file_*.
Diffstat (limited to 'gcc/algol68/a68-low-unions.cc')
0 files changed, 0 insertions, 0 deletions
