[all-commits] [llvm/llvm-project] c26e75: [flang] Support -D for function-like macros (#139812)

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu May 15 11:26:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c26e7520a939556bd23f7db3b7e0f4530b9d94a8
      https://github.com/llvm/llvm-project/commit/c26e7520a939556bd23f7db3b7e0f4530b9d94a8
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M flang/include/flang/Parser/preprocessor.h
    M flang/lib/Parser/preprocessor.cpp
    A flang/test/Preprocessing/func-on-command-line.F90

  Log Message:
  -----------
  [flang] Support -D for function-like macros (#139812)

Handle a command-line function-like macro definition like
"-Dfoo(a)=...".

TODO: error reporting for badly formed argument lists.



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