[PATCH] D60381: FileCheck [1/12]: Move variable table in new object
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 11 12:12:04 PDT 2019
arsenm added inline comments.
================
Comment at: llvm/include/llvm/Support/FileCheck.h:138
+ /// variables at the start of any given CHECK line.
+ FileCheckPatternContext *Context;
+
----------------
thopre wrote:
> jhenderson wrote:
> > Just to be clear, this is shared between all patterns?
> Yes, updated the comment to make it clear.
Why is this shared_ptr? For a context, there should be clear ownership. Each pattern doesn't need to have a potentially owning reference. It can live somewhere else
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60381/new/
https://reviews.llvm.org/D60381
More information about the llvm-commits
mailing list