Skip to content

Commit

Permalink
[pseudo] NFC, remove redundant ;
Browse files Browse the repository at this point in the history
  • Loading branch information
hokein committed Aug 19, 2022
1 parent 7aadeca commit e32799d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang-tools-extra/pseudo/include/clang-pseudo/Forest.h
Expand Up @@ -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.
Expand Down Expand Up @@ -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); }
Expand Down

0 comments on commit e32799d

Please sign in to comment.