LLVM_ATTRIBUTE_UNUSED doesn't work for non-gcc style compilers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285067
91177308-0d34-0410-b5e6-
96231b3b80d8
QualType SSizeTy = ACtx.getIntTypeForBitwidth(ACtx.getTypeSize(SizeTy), true);
// Don't worry about truncation here, it'd be cast back to SIZE_MAX when used.
- LLVM_ATTRIBUTE_UNUSED int64_t SizeMax =
+ int64_t SizeMax =
BVF.getMaxValue(SizeTy).getLimitedValue();
int64_t SSizeMax =
BVF.getMaxValue(SSizeTy).getLimitedValue();
+ (void)SizeMax;
// We are finally ready to define specifications for all supported functions.
//