Skip to content

Commit

Permalink
[ADT] Use default member initialization in DebugEpochBase (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazutakahirata committed Feb 6, 2022
1 parent 70fc36d commit d0f52ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/include/llvm/ADT/EpochTracker.h
Expand Up @@ -34,10 +34,10 @@ namespace llvm {
/// is still valid.
///
class DebugEpochBase {
uint64_t Epoch;
uint64_t Epoch = 0;

public:
DebugEpochBase() : Epoch(0) {}
DebugEpochBase() = default;

/// Calling incrementEpoch invalidates all handles pointing into the
/// calling instance.
Expand Down

0 comments on commit d0f52ff

Please sign in to comment.