Mark a few clang-tidy findings as false-positive

This commit is contained in:
Tim Wojtulewicz 2020-02-03 17:57:22 -05:00
parent d23b15c08f
commit 3572e38ec2
4 changed files with 9 additions and 1 deletions

View file

@ -436,7 +436,7 @@ unsigned int Specific_RE_Matcher::MemoryAllocation() const
+ equiv_class.Size() - padded_sizeof(EquivClass)
+ (dfa ? dfa->MemoryAllocation() : 0) // this is ref counted; consider the bytes here?
+ padded_sizeof(*any_ccl)
+ padded_sizeof(*accepted)
+ padded_sizeof(*accepted) // NOLINT(bugprone-sizeof-container)
+ accepted->size() * padded_sizeof(AcceptingSet::key_type);
}