aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Regex.cpp
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2020-03-02 18:24:11 +0100
committerJoerg Sonnenberger <joerg@bec.de>2020-03-02 22:45:28 +0100
commiteb812efa12fb82ca338794fa18b610ca9581aef5 (patch)
treee9ab45d3243be11729243a5b4ce5bc619ad68aff /llvm/lib/Support/Regex.cpp
parentc61401b89742f230b7e6a2cc0548fbf7442e906d (diff)
downloadllvm-eb812efa12fb82ca338794fa18b610ca9581aef5.zip
llvm-eb812efa12fb82ca338794fa18b610ca9581aef5.tar.gz
llvm-eb812efa12fb82ca338794fa18b610ca9581aef5.tar.bz2
Explicitly include <cassert> when using assert
Depending on the OS used, a module-enabled build can fail due to the special handling <cassert> gets as textual header.
Diffstat (limited to 'llvm/lib/Support/Regex.cpp')
-rw-r--r--llvm/lib/Support/Regex.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Regex.cpp b/llvm/lib/Support/Regex.cpp
index 615e48a..f065ada 100644
--- a/llvm/lib/Support/Regex.cpp
+++ b/llvm/lib/Support/Regex.cpp
@@ -14,6 +14,7 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
+#include <cassert>
#include <string>
// Important this comes last because it defines "_REGEX_H_". At least on