Skip to content

Commit

Permalink
[clang] Remove a stray semicolon, fixing pedantic GCC warnings. NFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstorsjo committed Sep 8, 2020
1 parent 78071fb commit 28b9ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/include/clang/AST/IgnoreExpr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)...);
Expand Down

0 comments on commit 28b9ace

Please sign in to comment.