[all-commits] [llvm/llvm-project] 943c70: [flang] Support #if defined when no definitions (#...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Aug 29 11:58:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 943c7042c622c331784f7eadc35e732ae62aef52
      https://github.com/llvm/llvm-project/commit/943c7042c622c331784f7eadc35e732ae62aef52
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

  Changed paths:
    M flang/lib/Parser/preprocessor.cpp
    A flang/test/Preprocessing/no-pp-if.f90

  Log Message:
  -----------
  [flang] Support #if defined when no definitions (#156080)

The "defined" operator isn't working in #if/#elif expressions when there
are no defined macros. Fix.



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