[PATCH] D133801: Extraction of a matcher for an unused value from an expression from the bugprone-unused-return-value check

Bartłomiej Cieślar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 20 13:20:03 PDT 2022


barcisz added a comment.

@njames93 What would be the best way to write up those tests here? I feel like writing a custom check to test the matcher each time we want to test one would be quite wasteful, but at the same time what would be the best way to invoke clang's frontend without using `tooling::Invocation`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133801/new/

https://reviews.llvm.org/D133801



More information about the cfe-commits mailing list