Skip to content

Commit

Permalink
[CIR][CIRGen][NFC] Cleanups: add skeleton for DominatingValue<RValue>…
Browse files Browse the repository at this point in the history
…::saved_type::save
  • Loading branch information
bcardosolopes committed Sep 20, 2024
1 parent d92a33a commit 2f45cd1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion clang/lib/CIR/CodeGen/CIRGenCleanup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,15 @@ Address CIRGenFunction::createCleanupActiveFlag() { llvm_unreachable("NYI"); }

DominatingValue<RValue>::saved_type
DominatingValue<RValue>::saved_type::save(CIRGenFunction &CGF, RValue rv) {
llvm_unreachable("NYI");
if (rv.isScalar()) {
llvm_unreachable("scalar NYI");
}

if (rv.isComplex()) {
llvm_unreachable("complex NYI");
}

llvm_unreachable("aggregate NYI");
}

/// Deactive a cleanup that was created in an active state.
Expand Down

0 comments on commit 2f45cd1

Please sign in to comment.