[all-commits] [llvm/llvm-project] f03a3c: [ms] [llvm-ml] Warn on command-line redefinition
Eric Astor via All-commits
all-commits at lists.llvm.org
Thu Jun 10 11:20:56 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f03a3caac5e5ac9a440bea1b8ad1485c714f156b
https://github.com/llvm/llvm-project/commit/f03a3caac5e5ac9a440bea1b8ad1485c714f156b
Author: Eric Astor <epastor at google.com>
Date: 2021-06-10 (Thu, 10 Jun 2021)
Changed paths:
M llvm/lib/MC/MCParser/MasmParser.cpp
M llvm/test/tools/llvm-ml/command_line_defines.asm
A llvm/test/tools/llvm-ml/command_line_defines_errors.asm
Log Message:
-----------
[ms] [llvm-ml] Warn on command-line redefinition
If a macro is defined on the command line and then overridden in the source code, this is likely to be an error in the user's build system. We should warn on this.
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D104008
More information about the All-commits
mailing list