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)...); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits