[clang] 28b9ace - [clang] Remove a stray semicolon, fixing pedantic GCC warnings. NFC.

Martin Storsjö via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 7 23:27:08 PDT 2020


Author: Martin Storsjö
Date: 2020-09-08T09:26:39+03:00
New Revision: 28b9ace85f6871cdb48f1483314d8342e099b136

URL: https://github.com/llvm/llvm-project/commit/28b9ace85f6871cdb48f1483314d8342e099b136
DIFF: https://github.com/llvm/llvm-project/commit/28b9ace85f6871cdb48f1483314d8342e099b136.diff

LOG: [clang] Remove a stray semicolon, fixing pedantic GCC warnings. NFC.

Added: 
    

Modified: 
    clang/include/clang/AST/IgnoreExpr.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/AST/IgnoreExpr.h b/clang/include/clang/AST/IgnoreExpr.h
index 15d31f3af995..0aeb547606a2 100644
--- a/clang/include/clang/AST/IgnoreExpr.h
+++ b/clang/include/clang/AST/IgnoreExpr.h
@@ -19,7 +19,7 @@ namespace clang {
 namespace detail {
 /// Given an expression E and functions Fn_1,...,Fn_n : Expr * -> Expr *,
 /// Return Fn_n(...(Fn_1(E)))
-inline Expr *IgnoreExprNodesImpl(Expr *E) { return E; };
+inline Expr *IgnoreExprNodesImpl(Expr *E) { return E; }
 template <typename FnTy, typename... FnTys>
 Expr *IgnoreExprNodesImpl(Expr *E, FnTy &&Fn, FnTys &&... Fns) {
   return IgnoreExprNodesImpl(Fn(E), std::forward<FnTys>(Fns)...);


        


More information about the cfe-commits mailing list