[clang] 0c8b26b - [clang] Remove a superfluous semicolon, silencing GCC warnings. NFC.

Martin Storsjö via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 25 04:57:19 PST 2021


Author: Martin Storsjö
Date: 2021-02-25T14:54:19+02:00
New Revision: 0c8b26bf530b3fc65af9205c593583f26549da3e

URL: https://github.com/llvm/llvm-project/commit/0c8b26bf530b3fc65af9205c593583f26549da3e
DIFF: https://github.com/llvm/llvm-project/commit/0c8b26bf530b3fc65af9205c593583f26549da3e.diff

LOG: [clang] Remove a superfluous semicolon, silencing GCC warnings. NFC.

Added: 
    

Modified: 
    clang/lib/Frontend/CompilerInvocation.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index f53cc8bff28c..eb447541124a 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1147,7 +1147,7 @@ GenerateOptimizationRemark(SmallVectorImpl<const char *> &Args,
   } else if (Remark.Kind == CodeGenOptions::RK_Disabled) {
     GenerateArg(Args, OPT_R_Joined, StringRef("no-") + Name, SA);
   }
-};
+}
 
 /// Parse a remark command line argument. It may be missing, disabled/enabled by
 /// '-R[no-]group' or specified with a regular expression by '-Rgroup=regexp'.


        


More information about the cfe-commits mailing list