diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2023-02-11 12:38:04 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2023-02-11 12:38:11 +0000 |
commit | e3b557809604d036af6e00c60f012c2025b59a5e (patch) | |
tree | 8a11ba2269a3b669601e2fd41145b174008f4da8 /llvm/lib/Support/GlobPattern.cpp | |
parent | 08e8dd7b9db7bb4a9de26d44c1cbfd24e869c014 (diff) |
Diffstat (limited to 'llvm/lib/Support/GlobPattern.cpp')
-rw-r--r-- | llvm/lib/Support/GlobPattern.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Support/GlobPattern.cpp b/llvm/lib/Support/GlobPattern.cpp index 8dae6941ec77..b8c6ea80b44c 100644 --- a/llvm/lib/Support/GlobPattern.cpp +++ b/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; |