[PATCH] D104196: [ms] [llvm-ml] Standardize blocking of lexical substitution

Eric Astor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 13 08:19:50 PDT 2021


epastor created this revision.
epastor added reviewers: thakis, rnk.
Herald added a subscriber: hiraditya.
epastor requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

In MASM, the ifdef family of directives treats its argument literally, without expanding it as a text macro. Add support for this, and also replace the special handling that was previously used for echo.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104196

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104196.351722.patch
Type: text/x-patch
Size: 7986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210613/6fe81516/attachment.bin>


More information about the llvm-commits mailing list