aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/Support/GlobPattern.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Support/GlobPattern.cpp')
-rw-r--r--contrib/llvm-project/llvm/lib/Support/GlobPattern.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/Support/GlobPattern.cpp b/contrib/llvm-project/llvm/lib/Support/GlobPattern.cpp
index 8dae6941ec77..b8c6ea80b44c 100644
--- a/contrib/llvm-project/llvm/lib/Support/GlobPattern.cpp
+++ b/contrib/llvm-project/llvm/lib/Support/GlobPattern.cpp
@@ -12,7 +12,6 @@
#include "llvm/Support/GlobPattern.h"
#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Errc.h"
@@ -96,7 +95,7 @@ static Expected<BitVector> scan(StringRef &S, StringRef Original) {
// Eat this character and fall through below to treat it like a non-meta
// character.
S = S.substr(1);
- LLVM_FALLTHROUGH;
+ [[fallthrough]];
default:
BitVector BV(256, false);
BV[(uint8_t)S[0]] = true;