diff options
author | Abhina Sree <69635948+abhina-sree@users.noreply.github.com> | 2023-12-13 13:13:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 13:13:53 -0500 |
commit | ec41462d7a7d2fcd74dcf1c60218f134fcfd55b2 (patch) | |
tree | 37f114aae81ae8b6cf0e8e4e4803afa9623d5c94 /clang/lib/Lex/HeaderMap.cpp | |
parent | c0ad6e2fa6353d06aa62b4874f48d5ba2159de56 (diff) | |
download | llvm-ec41462d7a7d2fcd74dcf1c60218f134fcfd55b2.zip llvm-ec41462d7a7d2fcd74dcf1c60218f134fcfd55b2.tar.gz llvm-ec41462d7a7d2fcd74dcf1c60218f134fcfd55b2.tar.bz2 |
[SystemZ][z/OS] Add missing strnlen function for z/OS to fix build failures (#75339)
This patch adds strnlen to the zOSSupport.h file to fix build failures in multiple files.
Diffstat (limited to 'clang/lib/Lex/HeaderMap.cpp')
-rw-r--r-- | clang/lib/Lex/HeaderMap.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/Lex/HeaderMap.cpp b/clang/lib/Lex/HeaderMap.cpp index 22a1532..00bf880 100644 --- a/clang/lib/Lex/HeaderMap.cpp +++ b/clang/lib/Lex/HeaderMap.cpp @@ -11,16 +11,17 @@ //===----------------------------------------------------------------------===// #include "clang/Lex/HeaderMap.h" -#include "clang/Lex/HeaderMapTypes.h" #include "clang/Basic/CharInfo.h" #include "clang/Basic/FileManager.h" +#include "clang/Lex/HeaderMapTypes.h" #include "llvm/ADT/SmallString.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" +#include "llvm/Support/Debug.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/SwapByteOrder.h" -#include "llvm/Support/Debug.h" +#include "llvm/Support/SystemZ/zOSSupport.h" #include <cstring> #include <memory> #include <optional> |