[PATCH] D89741: [ms] [llvm-ml] Allow macro function invocations in arbitrary positions

Eric Astor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 14:17:21 PDT 2020


epastor created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
epastor requested review of this revision.

Macro functions can be invoked in any position, including expanding to names of directives.

Required redesign of parseStringTo to read through instantiations of text macros and macro functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89741

Files:
  llvm/lib/MC/MCParser/MasmParser.cpp
  llvm/test/tools/llvm-ml/macro_function.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89741.299168.patch
Type: text/x-patch
Size: 14507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201019/a3b88981/attachment.bin>


More information about the llvm-commits mailing list