[Sema] Replace mem_fn with lambdas. NFC.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Sun, 24 Jul 2016 23:12:40 +0000 (23:12 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Sun, 24 Jul 2016 23:12:40 +0000 (23:12 +0000)
commit21081364f84dc468ad078ba09b0803285d256e69
tree4aded39ad821b8caaff49d7e61bff9466aad79dd
parent19244b67bc1602d02f71a56db4afc0cfbe2a9273
[Sema] Replace mem_fn with lambdas. NFC.

I'm told that some optimizers like lambdas a lot more than mem_fn.
Given that the readability difference is basically nil, and we seem to
use lambdas basically everywhere else, it seems sensible to just use
lambdas.

llvm-svn: 276577
clang/lib/Sema/SemaLambda.cpp
clang/lib/Sema/SemaOverload.cpp