[clang] 8e1f779 - [clang] [TargetCXXABI] Fix -Wextra-semi warning (NFC) (#96982)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 27 15:57:13 PDT 2024


Author: akirchhoff-modular
Date: 2024-06-27T15:57:10-07:00
New Revision: 8e1f7793971b5d5b6516146260fe86ec6e0f8c1e

URL: https://github.com/llvm/llvm-project/commit/8e1f7793971b5d5b6516146260fe86ec6e0f8c1e
DIFF: https://github.com/llvm/llvm-project/commit/8e1f7793971b5d5b6516146260fe86ec6e0f8c1e.diff

LOG: [clang] [TargetCXXABI] Fix -Wextra-semi warning (NFC) (#96982)

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

Added: 
    

Modified: 
    clang/include/clang/Basic/TargetCXXABI.h

Removed: 
    


################################################################################
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 {


        


More information about the cfe-commits mailing list