diff options
Diffstat (limited to 'llvm/lib/Support/Regex.cpp')
-rw-r--r-- | llvm/lib/Support/Regex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Regex.cpp b/llvm/lib/Support/Regex.cpp index 60ce528e577..35641f3b7cb 100644 --- a/llvm/lib/Support/Regex.cpp +++ b/llvm/lib/Support/Regex.cpp @@ -19,7 +19,7 @@ #include <string> using namespace llvm; -Regex::Regex() : error(REG_BADPAT), preg(nullptr) {} +Regex::Regex() : preg(nullptr), error(REG_BADPAT) {} Regex::Regex(StringRef regex, unsigned Flags) { unsigned flags = 0; |