================
@@ -3522,6 +3522,10 @@ class Sema final : public SemaBase {
/// attribute.
mutable llvm::DenseMap<const EnumDecl *, llvm::APInt> FlagBitsCache;
+ /// A cache of enumerator values for enums checked by -Wassign-enum.
+ mutable llvm::DenseMap<const EnumDecl *, llvm::SmallVector<llvm::APSInt, 64>>
----------------
Sirraide wrote:
I think we can just drop the `mutable`
https://github.com/llvm/llvm-project/pull/176560
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits