-
Notifications
You must be signed in to change notification settings - Fork 14.5k
[Support] System include SipHash.h #149499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@llvm/pr-subscribers-llvm-support Author: Guy David (guy-david) ChangesMatch the SYSTEM directive to this header which was introduced by 7f3afab, because a regular include may skip system directories. Full diff: https://github.com/llvm/llvm-project/pull/149499.diff 1 Files Affected:
diff --git a/llvm/lib/Support/SipHash.cpp b/llvm/lib/Support/SipHash.cpp
index 86dad66420435..ffcbc5044670d 100644
--- a/llvm/lib/Support/SipHash.cpp
+++ b/llvm/lib/Support/SipHash.cpp
@@ -12,13 +12,13 @@
//===----------------------------------------------------------------------===//
#include "llvm/Support/SipHash.h"
-#include "siphash/SipHash.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Endian.h"
#include <cstdint>
+#include <siphash/SipHash.h>
using namespace llvm;
using namespace support;
|
Would it also work to remove the SYSTEM directive? That seems like the right thing to do because this isn't a system header. I don't think I added SYSTEM deliberately, it was copy-pasted from the previous target_include_directories for Z3. |
A regular include may not search the system include path.
c735e05
to
1c9d976
Compare
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/38675 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/161/builds/7099 Here is the relevant piece of the build log for the reference
|
A regular include may not search the system include path.