[clang] 272bcd0 - [clang][sema][NFC] Remove a superfluous semicolon

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 9 07:15:29 PST 2021


Author: Timm Bäder
Date: 2021-03-09T16:14:07+01:00
New Revision: 272bcd0eeff5297eea5a25223d169dcd44b06ba6

URL: https://github.com/llvm/llvm-project/commit/272bcd0eeff5297eea5a25223d169dcd44b06ba6
DIFF: https://github.com/llvm/llvm-project/commit/272bcd0eeff5297eea5a25223d169dcd44b06ba6.diff

LOG: [clang][sema][NFC] Remove a superfluous semicolon

Silences a GCC warning:

clang/lib/Sema/SemaChecking.cpp:4506:2: warning: extra ‘;’ [-Wpedantic]
 };
  ^

Added: 
    

Modified: 
    clang/lib/Sema/SemaChecking.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index 92f8d11d54fe..fef6a9306eaf 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -4503,7 +4503,7 @@ void Sema::CheckArgAlignment(SourceLocation Loc, NamedDecl *FDecl,
     Diag(Loc, diag::warn_param_mismatched_alignment)
         << (int)ArgAlign.getQuantity() << (int)ParamAlign.getQuantity()
         << ParamName << FDecl;
-};
+}
 
 /// Handles the checks for format strings, non-POD arguments to vararg
 /// functions, NULL arguments passed to non-NULL parameters, and diagnose_if


        


More information about the cfe-commits mailing list