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

Victor K via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 27 16:29:59 PST 2022


vctr created this revision.
Herald added a project: All.
vctr requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

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
@@ -1353,6 +1353,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.485437.patch
Type: text/x-patch
Size: 468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221228/7275a9b6/attachment.bin>


More information about the cfe-commits mailing list