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

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 12 03:57:05 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGd0a98efb6819: [clang] Fix unused variable warning in SemaConcept.cpp (authored by Victor Komarov <vctr at fb.com>, committed by hokein).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140711

Files:
  clang/lib/Sema/SemaConcept.cpp


Index: clang/lib/Sema/SemaConcept.cpp
===================================================================
--- clang/lib/Sema/SemaConcept.cpp
+++ clang/lib/Sema/SemaConcept.cpp
@@ -1354,6 +1354,7 @@
     };
     const auto *FD2 = dyn_cast<FunctionDecl>(D2);
     (void)IsExpectedEntity;
+    (void)FD1;
     (void)FD2;
     assert(IsExpectedEntity(FD1) && FD2 && IsExpectedEntity(FD2) &&
            "use non-instantiated function declaration for constraints partial "


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140711.488590.patch
Type: text/x-patch
Size: 468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230112/c9270dcc/attachment.bin>


More information about the cfe-commits mailing list