[PATCH] D140711: [clang] Fix unused variable warning in SemaConcept.cpp

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 3 12:26:57 PST 2023


cor3ntin added a comment.

nit: I think that's a cleaner fix :)



================
Comment at: clang/lib/Sema/SemaConcept.cpp:1348
                                   bool &Result) {
   if (const auto *FD1 = dyn_cast<FunctionDecl>(D1)) {
     auto IsExpectedEntity = [](const FunctionDecl *FD) {
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140711



More information about the cfe-commits mailing list