[all-commits] [llvm/llvm-project] f92f77: [flang][NFC] Address reported "possible missing re...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Mar 26 10:02:44 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f92f77521263c8f20171b62688ecc86de9c9dfa9
https://github.com/llvm/llvm-project/commit/f92f77521263c8f20171b62688ecc86de9c9dfa9
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-26 (Tue, 26 Mar 2024)
Changed paths:
M flang/lib/Semantics/tools.cpp
Log Message:
-----------
[flang][NFC] Address reported "possible missing return" (#86523)
A function uses "if constexpr" to consider all possible types in a
variant, but looks as if it can fall out without returning an
expression. Add a final "else" with a crash to make things more clear
and to protect against unlikely future extensions of the type.
Fixes https://github.com/llvm/llvm-project/issues/86391.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list