[flang-commits] [flang] [Flang][OpenMP] Fix comments that should not be Sentinels on fixed format. (PR #68911)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Fri Oct 20 10:02:44 PDT 2023


================
@@ -1186,6 +1186,8 @@ Prescanner::IsFixedFormCompilerDirectiveLine(const char *start) const {
         break;
       }
       *sp++ = ToLowerCaseLetter(*p);
+    } else {
----------------
klausler wrote:

If the loop is now going to terminate on a space, then the various `break` conditions in the loop can be combined to be less confusing.

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


More information about the flang-commits mailing list