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:
78153b3
)
[TypeSize] Fix module builds (cassert)
author
Kristina Brooks
<notstina@gmail.com>
Wed, 9 Oct 2019 04:00:03 +0000
(
04:00
+0000)
committer
Kristina Brooks
<notstina@gmail.com>
Wed, 9 Oct 2019 04:00:03 +0000
(
04:00
+0000)
TypeSize.h uses `assert` statements without including
the <cassert> header first which leads to failures
in modular builds.
llvm-svn: 374138
llvm/include/llvm/Support/TypeSize.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Support/TypeSize.h
b/llvm/include/llvm/Support/TypeSize.h
index
d93919a
..
ea08358
100644
(file)
--- a/
llvm/include/llvm/Support/TypeSize.h
+++ b/
llvm/include/llvm/Support/TypeSize.h
@@
-15,6
+15,7
@@
#ifndef LLVM_SUPPORT_TYPESIZE_H
#define LLVM_SUPPORT_TYPESIZE_H
+#include <cassert>
#include <tuple>
namespace llvm {