aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectMemory.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2015-10-16 01:17:38 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2015-10-16 01:17:38 +0000
commit2a6150d93290b8b1e73a577226bd9ee4d298a703 (patch)
tree4892ee0509946c602ce887977c5528a7a987157b /lldb/source/Commands/CommandObjectMemory.cpp
parent47d118e9f275f3d6d811ad77cac3bdff8d8c2d57 (diff)
downloadllvm-2a6150d93290b8b1e73a577226bd9ee4d298a703.zip
llvm-2a6150d93290b8b1e73a577226bd9ee4d298a703.tar.gz
llvm-2a6150d93290b8b1e73a577226bd9ee4d298a703.tar.bz2
[Sema] Fix address-of + enable_if overloading logic
Previously, our logic when taking the address of an overloaded function would not consider enable_if attributes, so long as all of the enable_if conditions on a given candidate were true. So, two functions with identical signatures (one with enable_if attributes, the other without), would be considered equally good overloads. If we were calling the function instead of taking its address, then the function with enable_if attributes would be preferred. This patch makes us prefer the candidate with enable_if regardless of if we're calling or taking the address of an overloaded function. Differential Revision: http://reviews.llvm.org/D13795 llvm-svn: 250486
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
0 files changed, 0 insertions, 0 deletions