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

Michael Spencer via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 15:48:48 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"},
----------------
Bigcheese wrote:

Looks like the closing `>` is missing for these two.

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


More information about the llvm-commits mailing list