[all-commits] [llvm/llvm-project] be133f: [flang] Fix preprocessor regression (#134405)

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Apr 9 12:30:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be133ff4c44060e18a9c8a5e55c32d242007c8d1
      https://github.com/llvm/llvm-project/commit/be133ff4c44060e18a9c8a5e55c32d242007c8d1
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-04-09 (Wed, 09 Apr 2025)

  Changed paths:
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/token-sequence.cpp
    M flang/test/Preprocessing/kind-suffix.F90

  Log Message:
  -----------
  [flang] Fix preprocessor regression (#134405)

For numeric kind suffixes like 1_foo, the preprocessor should be able to
perform macro replacement for macros named either "_foo" or "foo".

Fixes https://github.com/llvm/llvm-project/issues/133399.



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