reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaChecking.cpp
 3028     if (A.BitWidth == 0)
 3031     int32_t Min = A.IsSigned ? -(1 << (A.BitWidth - 1)) : 0;
 3031     int32_t Min = A.IsSigned ? -(1 << (A.BitWidth - 1)) : 0;
 3032     int32_t Max = (1 << (A.IsSigned ? A.BitWidth - 1 : A.BitWidth)) - 1;
 3032     int32_t Max = (1 << (A.IsSigned ? A.BitWidth - 1 : A.BitWidth)) - 1;
 3032     int32_t Max = (1 << (A.IsSigned ? A.BitWidth - 1 : A.BitWidth)) - 1;
 3033     if (!A.Align) {
 3034       Error |= SemaBuiltinConstantArgRange(TheCall, A.OpNum, Min, Max);
 3036       unsigned M = 1 << A.Align;
 3039       Error |= SemaBuiltinConstantArgRange(TheCall, A.OpNum, Min, Max) |
 3040                SemaBuiltinConstantArgMultiple(TheCall, A.OpNum, M);