* [committed] libstdc++: Do not use def-file-line for each macro in <bits/version.h>
@ 2024-02-01 15:29 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2024-02-01 15:29 UTC (permalink / raw)
To: libstdc++, gcc-patches
Tested x86_64-linux. Pushed to trunk.
-- >8 --
These line markers are not needed, because searching <bits/version.def>
for a macro name works fine. Removing them means that small changes to
<bits/version.def> do not result in large diffs to <bits/version.h>
because of all the changed line numbers.
libstdc++-v3/ChangeLog:
* include/bits/version.tpl: Do not use def-file-line for each
macro being defined.
* include/bits/version.h: Regenerate.
---
libstdc++-v3/include/bits/version.h | 186 --------------------------
libstdc++-v3/include/bits/version.tpl | 3 +-
2 files changed, 1 insertion(+), 188 deletions(-)
diff --git a/libstdc++-v3/include/bits/version.tpl b/libstdc++-v3/include/bits/version.tpl
index ac7c331f137..4a7d5e29c10 100644
--- a/libstdc++-v3/include/bits/version.tpl
+++ b/libstdc++-v3/include/bits/version.tpl
@@ -125,8 +125,7 @@ h
}*/
/*{ FOR ftms
- }*/// /*{ (def-file-line "name") }*/
-#if !defined(__cpp_lib_/*{name}*/)
+ }*/#if !defined(__cpp_lib_/*{name}*/)
/*{ FOR values }*//*{ #
This macro block defines two versions of each FTM:
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-01 15:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 15:29 [committed] libstdc++: Do not use def-file-line for each macro in <bits/version.h> Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).