https://github.com/akirchhoff-modular created 
https://github.com/llvm/llvm-project/pull/96982

While building a downstream project including `TargetCXXABI.h`, I received a 
`-Wextra-semi` warning.  This PR removes the extra semicolon, fixing the 
warning.

>From 7a0572fe3578a6e50462ea38c6198b952515395b Mon Sep 17 00:00:00 2001
From: Alex Kirchhoff <akirchh...@modular.com>
Date: Thu, 27 Jun 2024 15:47:21 -0700
Subject: [PATCH] [clang] [TargetCXXABI] Fix -Wextra-semi warning (NFC)

While building a downstream project including `TargetCXXABI.h`, I
received a `-Wextra-semi` warning.  This PR removes the extra semicolon,
fixing the warning.
---
 clang/include/clang/Basic/TargetCXXABI.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/include/clang/Basic/TargetCXXABI.h 
b/clang/include/clang/Basic/TargetCXXABI.h
index c113a6a048ad4..d204452afbf4b 100644
--- a/clang/include/clang/Basic/TargetCXXABI.h
+++ b/clang/include/clang/Basic/TargetCXXABI.h
@@ -116,7 +116,7 @@ class TargetCXXABI {
       return T.isKnownWindowsMSVCEnvironment();
     }
     llvm_unreachable("invalid CXXABI kind");
-  };
+  }
 
   /// Does this ABI generally fall into the Itanium family of ABIs?
   bool isItaniumFamily() const {

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to