[ms] [llvm-ml] Implement the expression expansion operator
authorEric Astor <epastor@google.com>
Wed, 25 Nov 2020 20:37:00 +0000 (15:37 -0500)
committerEric Astor <epastor@google.com>
Wed, 25 Nov 2020 21:11:00 +0000 (16:11 -0500)
commit35828b84a5232df020d6de250c3c268e2ccaaf11
tree74a3e001c65d8cc2413734d25a52b8cc83a01664
parentc5d017267dea6c4e84b0e67f043bde94815052ac
[ms] [llvm-ml] Implement the expression expansion operator

In text-item contexts, %expr expands to a string containing the results of evaluating `expr`.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D89736
llvm/lib/MC/MCParser/MasmParser.cpp
llvm/test/tools/llvm-ml/macro_function.test