[PATCH] D46911: [Fixed Point Arithmetic] Addition of the remaining fixed point types and their saturated equivalents

Bevin Hansson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 7 04:52:39 PDT 2018


ebevhan added inline comments.


================
Comment at: lib/Sema/SemaType.cpp:1612
+  // Only fixed point types can be saturated
+  if (DS.isTypeSpecSat() && !IsFixedPointType)
+    S.Diag(DS.getTypeSpecSatLoc(), diag::err_invalid_saturation_spec)
----------------
Also, this does not seem to invalidate the declarator.


Repository:
  rC Clang

https://reviews.llvm.org/D46911





More information about the cfe-commits mailing list