[flang-commits] [clang] [flang] [flang][Driver] Add support for -f[no-]wrapv and -f[no]-strict-overflow in the frontend (PR #110061)

Fangrui Song via flang-commits flang-commits at lists.llvm.org
Fri Oct 4 22:56:47 PDT 2024


================
@@ -27,6 +27,14 @@ namespace Fortran::common {
 class LangOptionsBase {
 
 public:
+  enum SignedOverflowBehaviorTy {
+    // -fno-wrapv (default behavior in Flang)
+    SOB_Undefined,
----------------
MaskRay wrote:

unused? Not sure that this definition is useful

https://github.com/llvm/llvm-project/pull/110061


More information about the flang-commits mailing list