[PATCH] D86222: Fix PR46880: Fail CHECK-NOT with undefined variable
Thomas Preud'homme via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 26 03:03:22 PDT 2021
thopre added inline comments.
================
Comment at: llvm/lib/FileCheck/FileCheckImpl.h:232
void log(raw_ostream &OS) const override {
- OS << "\"";
- OS.write_escaped(VarName) << "\"";
+ OS << "undefined variable: " << VarName;
}
----------------
jdenny wrote:
> When is this function called now?
It is a virtual function and thus needs to be defined. It's not called anywhere but I cannot remove it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86222/new/
https://reviews.llvm.org/D86222
More information about the llvm-commits
mailing list