Skip to content

Commit

Permalink
cg: Fix unused record type.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Oct 8, 2024
1 parent 574f7c7 commit a2813a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vast/CodeGen/CodeGenFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ namespace vast::cg
bool may_drop_function_return(clang_qual_type rty, acontext_t &actx) {
// We can't just discard the return value for a record type with a
// complex destructor or a non-trivially copyable type.
if (const auto *recorrd_type = rty.getCanonicalType()->getAs< clang::RecordType >()) {
if (rty.getCanonicalType()->getAs< clang::RecordType >()) {
VAST_UNIMPLEMENTED;
}

Expand Down

0 comments on commit a2813a4

Please sign in to comment.