Author: Haojian Wu Date: 2022-08-19T15:55:19+02:00 New Revision: e32799d1d6f84206712076d385a1ce03e0944ab3
URL: https://github.com/llvm/llvm-project/commit/e32799d1d6f84206712076d385a1ce03e0944ab3 DIFF: https://github.com/llvm/llvm-project/commit/e32799d1d6f84206712076d385a1ce03e0944ab3.diff LOG: [pseudo] NFC, remove redundant ; Added: Modified: clang-tools-extra/pseudo/include/clang-pseudo/Forest.h Removed: ################################################################################ diff --git a/clang-tools-extra/pseudo/include/clang-pseudo/Forest.h b/clang-tools-extra/pseudo/include/clang-pseudo/Forest.h index f25e4cf1dd11..35212c18a116 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 @@ class alignas(class ForestNode *) ForestNode { llvm::ArrayRef<const ForestNode *> 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); } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits