aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/replace.h
diff options
context:
space:
mode:
authorpeter klausler <pklausler@nvidia.com>2021-06-18 16:55:37 -0700
committerpeter klausler <pklausler@nvidia.com>2021-06-18 16:58:44 -0700
commitb3c1f53c989f6aefad581955e3add222cfb5d890 (patch)
tree8fa1a690eb997c8ef2795dbeac09d3471355e012 /libcxx/include/__algorithm/replace.h
parent5540470f642a3118439996cbcde7d90530588eb5 (diff)
downloadllvm-b3c1f53c989f6aefad581955e3add222cfb5d890.zip
llvm-b3c1f53c989f6aefad581955e3add222cfb5d890.tar.gz
llvm-b3c1f53c989f6aefad581955e3add222cfb5d890.tar.bz2
[flang] Recode a switch() to dodge a sketchy warning
One of the buildbots uses a compiler (can't tell which) that doesn't approve of a "default:" in a switch statement whose cases appear to completely cover all possible values of an enum class. But this switch is in raw data dumping code that needs to allow for incorrect values in memory. So rewrite it as a cascade of if statements; performance doesn't matter here.
Diffstat (limited to 'libcxx/include/__algorithm/replace.h')
0 files changed, 0 insertions, 0 deletions