Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 30941 Build 30940: arc lint + arc unit
Event Timeline
llvm/include/llvm/Testing/Support/SupportHelpers.h | ||
---|---|---|
65 | AFAICS from other helpers, ValueIsMatcher should go in llvm::detail, and ValueIs should go in llvm. unittest::getInputFileDirectory() reads well, but unittest::ValueIs(...) really doesn't... | |
85 | is this actually necessary? I think it's already going to print the value, which is always "None" - I'm not sure "None, which does not have a value" is clearer. | |
109 | it's a shame the name HasValue is taken, as I think it would much more clearly communicate "has a value *and* the value is...". |
AFAICS from other helpers, ValueIsMatcher should go in llvm::detail, and ValueIs should go in llvm.
unittest::getInputFileDirectory() reads well, but unittest::ValueIs(...) really doesn't...