projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d3412a
)
Add missing header for uint64_t
author
Paulo Matos
<pmatos@igalia.com>
Mon, 22 May 2023 14:32:28 +0000
(16:32 +0200)
committer
Paulo Matos
<pmatos@igalia.com>
Mon, 22 May 2023 14:40:32 +0000
(16:40 +0200)
LLVM fails to build in some environments with EXPENSIVE_CHECKS
due to the use of uint64_t without including cstdint.
Differential Revision: https://reviews.llvm.org/D151101
llvm/include/llvm/Pass.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Pass.h
b/llvm/include/llvm/Pass.h
index
6445e16
..
44b6dd9
100644
(file)
--- a/
llvm/include/llvm/Pass.h
+++ b/
llvm/include/llvm/Pass.h
@@
-28,6
+28,9
@@
#ifndef LLVM_PASS_H
#define LLVM_PASS_H
+#ifdef EXPENSIVE_CHECKS
+#include <cstdint>
+#endif
#include <string>
namespace llvm {