From e3b557809604d036af6e00c60f012c2025b59a5e Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 11 Feb 2023 13:38:04 +0100 Subject: Vendor import of llvm-project main llvmorg-16-init-18548-gb0daacf58f41, the last commit before the upstream release/17.x branch was created. --- llvm/lib/Support/GlobPattern.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/Support/GlobPattern.cpp') 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 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; -- cgit v1.2.3