Skip to content

Commit 21bac59

Browse files
committed
Fix unused-variable warning in release build, NFC
1 parent 77793ee commit 21bac59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/Sema/SemaConcept.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,8 @@ bool Sema::IsAtLeastAsConstrained(NamedDecl *D1,
13071307
Kind == FunctionDecl::TK_FunctionTemplate;
13081308
};
13091309
const auto *FD2 = dyn_cast<FunctionDecl>(D2);
1310+
(void)IsExpectedEntity;
1311+
(void)FD2;
13101312
assert(IsExpectedEntity(FD1) && FD2 && IsExpectedEntity(FD2) &&
13111313
"use non-instantiated function declaration for constraints partial "
13121314
"ordering");

0 commit comments

Comments
 (0)