[clang] [clang-tools-extra] [llvm] [clang][modules] stdarg.h and stddef.h shouldn't directly declare anything (PR #90676)

Ian Anderson via cfe-commits cfe-commits at lists.llvm.org
Thu May 2 15:52:14 PDT 2024


================
@@ -15,9 +15,11 @@ const HeaderMapCollector::RegexHeaderMap *getSTLPostfixHeaderMap() {
   static const HeaderMapCollector::RegexHeaderMap STLPostfixHeaderMap = {
       {"include/__stdarg___gnuc_va_list.h$", "<cstdarg>"},
       {"include/__stdarg___va_copy.h$", "<cstdarg>"},
+      {"include/__stdarg_macro.h$", "<cstdarg"},
       {"include/__stdarg_va_arg.h$", "<cstdarg>"},
       {"include/__stdarg_va_copy.h$", "<cstdarg>"},
       {"include/__stdarg_va_list.h$", "<cstdarg>"},
+      {"include/__stddef_macro.h$", "<cstddef"},
----------------
ian-twilightcoder wrote:

Oh, dangit, thanks.

https://github.com/llvm/llvm-project/pull/90676


More information about the cfe-commits mailing list