[all-commits] [llvm/llvm-project] 9efe15: [flang][preprocessing] Allow keyword macro to rena...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon May 22 14:44:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9efe1581502f1433811ea479345f84ca5008c754
https://github.com/llvm/llvm-project/commit/9efe1581502f1433811ea479345f84ca5008c754
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M flang/lib/Parser/preprocessor.cpp
A flang/test/Preprocessing/renaming.F
Log Message:
-----------
[flang][preprocessing] Allow keyword macro to rename a function-like macro
#define FOO(x) ((x)+1)
#define BAR FOO
print *, BAR(1)
should work as one would expect.
Fixes https://github.com/llvm/llvm-project/issues/47162.
Differential Revision: https://reviews.llvm.org/D151154
More information about the All-commits
mailing list