Skip to content

Commit

Permalink
[flang][hlfir][NFC] Make BOZ lowering a TODO.
Browse files Browse the repository at this point in the history
This change just turns the unhandled BOZ fatal error into TODO
like in non-HLFIR path.
  • Loading branch information
vzakhari committed May 24, 2023
1 parent f5808fc commit ca2ec4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/lib/Lower/ConvertExprToHLFIR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ class HlfirBuilder {
private:
hlfir::EntityWithAttributes
gen(const Fortran::evaluate::BOZLiteralConstant &expr) {
fir::emitFatalError(loc, "BOZ literal must be replaced by semantics");
TODO(getLoc(), "BOZ");
}

hlfir::EntityWithAttributes gen(const Fortran::evaluate::NullPointer &expr) {
Expand Down

0 comments on commit ca2ec4b

Please sign in to comment.