]> granicus.if.org Git - clang/commit
[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)
commitbd1bb9df54172ce46b81536c3bcde0f4116ebb4a
tree201f33925160919efc46785a70f972dbd6ff9b9a
parentbad32bb286c4d4d8160d840c9f1054990a9d62db
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276577 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaLambda.cpp
lib/Sema/SemaOverload.cpp