markrowe created this revision. markrowe requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
It wraps a system header. This allows the system module map to declare a module for it. https://bugs.llvm.org/show_bug.cgi?id=51307 Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D107296 Files: clang/lib/Lex/ModuleMap.cpp Index: clang/lib/Lex/ModuleMap.cpp =================================================================== --- clang/lib/Lex/ModuleMap.cpp +++ clang/lib/Lex/ModuleMap.cpp @@ -375,6 +375,7 @@ bool ModuleMap::isBuiltinHeader(StringRef FileName) { return llvm::StringSwitch<bool>(FileName) .Case("float.h", true) + .Case("inttypes.h", true) .Case("iso646.h", true) .Case("limits.h", true) .Case("stdalign.h", true)
Index: clang/lib/Lex/ModuleMap.cpp =================================================================== --- clang/lib/Lex/ModuleMap.cpp +++ clang/lib/Lex/ModuleMap.cpp @@ -375,6 +375,7 @@ bool ModuleMap::isBuiltinHeader(StringRef FileName) { return llvm::StringSwitch<bool>(FileName) .Case("float.h", true) + .Case("inttypes.h", true) .Case("iso646.h", true) .Case("limits.h", true) .Case("stdalign.h", true)
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits