[openmp] Use front() instead of *begin() to not hide bugs when CurTypes is empty.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 28 Oct 2020 12:55:43 +0000 (13:55 +0100)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 28 Oct 2020 12:58:23 +0000 (13:58 +0100)
commit90a9f97cbda3bef63d9866d300b73b8ccf65c7f5
treeb1757d3071b0799693097bb8fd8501378246445d
parent207cf71fa9ce117051c73fe308e8e434f3c84c9c
[openmp] Use front() instead of *begin() to not hide bugs when CurTypes is empty.
clang/lib/CodeGen/CGOpenMPRuntime.cpp