From e32799d1d6f84206712076d385a1ce03e0944ab3 Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Fri, 19 Aug 2022 15:53:16 +0200 Subject: [PATCH] [pseudo] NFC, remove redundant ; --- clang-tools-extra/pseudo/include/clang-pseudo/Forest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang-tools-extra/pseudo/include/clang-pseudo/Forest.h b/clang-tools-extra/pseudo/include/clang-pseudo/Forest.h index f25e4cf..35212c1 100644 --- a/clang-tools-extra/pseudo/include/clang-pseudo/Forest.h +++ b/clang-tools-extra/pseudo/include/clang-pseudo/Forest.h @@ -79,7 +79,7 @@ public: llvm::ArrayRef elements() const { assert(kind() == Sequence); return children(Data >> RuleBits); - }; + } // Returns all possible interpretations of the code. // REQUIRES: this is an Ambiguous node. @@ -213,7 +213,7 @@ class ForestNode::RecursiveIterator public: RecursiveIterator(const ForestNode *N = nullptr) : Cur(N) {} - const ForestNode &operator*() const { return *Cur; }; + const ForestNode &operator*() const { return *Cur; } void operator++(); bool operator==(const RecursiveIterator &I) const { return Cur == I.Cur; } bool operator!=(const RecursiveIterator &I) const { return !(*this == I); } -- 2.7.4