Skip to content

Commit da14b3c

Browse files
committed
IDE: Remove dead code in SyntaxModel.cpp.
1 parent 3b741ee commit da14b3c

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

lib/IDE/SyntaxModel.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -358,21 +358,6 @@ class ModelASTWalker : public ASTWalker {
358358
/// is considered as one, e.g. object literal expression.
359359
uint8_t AvoidPassingSyntaxToken = 0;
360360

361-
class InactiveClauseRAII {
362-
const bool wasInInactiveClause;
363-
bool &isInInactiveClause;
364-
365-
public:
366-
InactiveClauseRAII(bool &isInInactiveClauseArg, bool enteringInactiveClause)
367-
: wasInInactiveClause(isInInactiveClauseArg),
368-
isInInactiveClause(isInInactiveClauseArg) {
369-
isInInactiveClause |= enteringInactiveClause;
370-
}
371-
~InactiveClauseRAII() { isInInactiveClause = wasInInactiveClause; }
372-
};
373-
friend class InactiveClauseRAII;
374-
bool inInactiveClause = false;
375-
376361
public:
377362
SyntaxModelWalker &Walker;
378363
ArrayRef<SyntaxNode> TokenNodes;

0 commit comments

Comments
 (0)