Skip to content

Commit

Permalink
Revert "[clang] Remove unused variable 'ExprDependenceBits' in ASTWri…
Browse files Browse the repository at this point in the history
…terDecl.cpp (NFC)"

This reverts commit 1095105.
This should be part of 8c33462 to revert
9406ea3 completely.
  • Loading branch information
ChuanqiXu9 committed Dec 11, 2023
1 parent 8c33462 commit 9a46518
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/Serialization/ASTWriterDecl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2346,6 +2346,7 @@ void ASTWriter::WriteDeclAbbrevs() {
Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6));
DeclCXXMethodAbbrev = Stream.EmitAbbrev(std::move(Abv));

unsigned ExprDependenceBits = llvm::BitWidth<ExprDependence>;
// Abbreviation for EXPR_DECL_REF
Abv = std::make_shared<BitCodeAbbrev>();
Abv->Add(BitCodeAbbrevOp(serialization::EXPR_DECL_REF));
Expand Down

0 comments on commit 9a46518

Please sign in to comment.