From: Kristina Brooks Date: Wed, 9 Oct 2019 04:00:03 +0000 (+0000) Subject: [TypeSize] Fix module builds (cassert) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f022d79d1d5ac627536e73585f8c01286684a6a1;p=llvm [TypeSize] Fix module builds (cassert) TypeSize.h uses `assert` statements without including the header first which leads to failures in modular builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374138 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/TypeSize.h b/include/llvm/Support/TypeSize.h index d93919acd9d..ea08358485a 100644 --- a/include/llvm/Support/TypeSize.h +++ b/include/llvm/Support/TypeSize.h @@ -15,6 +15,7 @@ #ifndef LLVM_SUPPORT_TYPESIZE_H #define LLVM_SUPPORT_TYPESIZE_H +#include #include namespace llvm {