[PATCH] D60382: FileCheck [2/12]: Stricter parsing of -D option
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 16 08:51:11 PDT 2019
probinson added inline comments.
================
Comment at: llvm/lib/Support/FileCheck.cpp:1407
+ for (const auto &CmdlineDef : CmdlineDefines) {
+ std::string Prefix = "-D";
+ std::string DiagCmdline = Prefix + CmdlineDef;
----------------
Why does the library know the name of the option passed to the driver? That's not a good separation of concerns.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60382/new/
https://reviews.llvm.org/D60382
More information about the llvm-commits
mailing list