[all-commits] [llvm/llvm-project] 67d667: [flang][prescanner] fix invalid check (#146613)

Andre Kuhlenschmidt via All-commits all-commits at lists.llvm.org
Thu Jul 3 12:36:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 67d6679c91e14e17981e4ea0340f91c79e9524da
      https://github.com/llvm/llvm-project/commit/67d6679c91e14e17981e4ea0340f91c79e9524da
  Author: Andre Kuhlenschmidt <andre.kuhlenschmidt at gmail.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M flang/lib/Parser/token-sequence.cpp
    A flang/test/Parser/issue-146362.1.f90

  Log Message:
  -----------
  [flang][prescanner] fix invalid check (#146613)

`TokenSequence::pop_back()` had a check assumed that tokens are never
empty. Loosen this check since isn't true.

towards #146362



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list