diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-05-07 21:15:28 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-05-07 21:15:28 +0000 |
commit | fc353da22e135e65df6be4d8e2183828fc6b9220 (patch) | |
tree | 192f3f850ed6c9813e8dc83d52ab98ba1eb9715b /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 17f01968f118eb2a42697c8706b0982a8a605794 (diff) | |
download | bcm5719-llvm-fc353da22e135e65df6be4d8e2183828fc6b9220.tar.gz bcm5719-llvm-fc353da22e135e65df6be4d8e2183828fc6b9220.zip |
Fix two test failures caused by Windows mangling of function types.
On Windows the function template `template <class T> void test()` has
the same mangled name when instantiated with the distinct types `void()`
and `void() noexcept`. When this occurs Clang emits an error. This error
was causing two type-traits tests to fail.
However this can be worked around by using class templates instead of
function templates, which is what this patch does to fix the errors.
llvm-svn: 302380
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions