blob: a9d9a6771b37ac09bc79855835c4286b9d51f41d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "LexerAction.h"
using namespace antlr4::atn;
size_t LexerAction::hashCode() const {
auto hash = cachedHashCode();
if (hash == 0) {
hash = hashCodeImpl();
if (hash == 0) {
hash = std::numeric_limits<size_t>::max();
}
_hashCode.store(hash, std::memory_order_relaxed);
}
return hash;
}
|