[PATCH] D136080: [flang] Add -ffp-contract option processing

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 26 11:03:34 PDT 2022


MaskRay added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Flang.cpp:89
+    const StringRef Val = A->getValue();
+    if (Val.equals("fast") || Val.equals("off")) {
+      FPContract = Val;
----------------
We prefer `==` to `equals`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136080/new/

https://reviews.llvm.org/D136080



More information about the cfe-commits mailing list