diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-06-13 08:25:24 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-06-13 08:25:24 +0000 |
commit | d9ad0cbd70426f1b85d37d9059e66b2e5f1f0c8b (patch) | |
tree | 313a12c431776963482bd4c9da2640b00b1e604c /llvm/lib | |
parent | ed81d1c1f265be64053ff154e112b083bafe4b91 (diff) | |
download | bcm5719-llvm-d9ad0cbd70426f1b85d37d9059e66b2e5f1f0c8b.tar.gz bcm5719-llvm-d9ad0cbd70426f1b85d37d9059e66b2e5f1f0c8b.zip |
Cleanup result_of tests and fix issues with the C++03 result_of.
The two main fixes this patch contains are:
- use __identity_t instead of common_type. common_type was used as an
identity metafunction but the decay resulted in incorrect results.
- Pointers to free functions were not counted as functions. Remove the pointer
before checking if a type is a function.
llvm-svn: 239668
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions