| commit | 13631242fe9fb3ed76c00f27ba193155ce054890 | [log] [tgz] |
|---|---|---|
| author | Yaron Keren <yaron.keren@gmail.com> | Tue Aug 04 15:57:04 2015 +0000 |
| committer | Yaron Keren <yaron.keren@gmail.com> | Tue Aug 04 15:57:04 2015 +0000 |
| tree | 9e39db4881f79e4ae9b507f74bf1439455c00bce | |
| parent | 07f42cd526c51131d1748e3be8683d24c396d9eb [diff] |
Avoid passing nullptr to std::equal. As documented in the LLVM Coding Standards, indeed MSVC incorrectly asserts on this in Debug mode. This happens when building clang with Visual C++ and -triple i686-pc-windows-gnu on these clang regression tests: clang/test/CodeGen/2011-03-08-ZeroFieldUnionInitializer.c clang/test/CodeGen/empty-union-init.c llvm-svn: 243996