[SCEV] Replace a struct with a function; NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 27 Sep 2016 18:01:48 +0000 (18:01 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 27 Sep 2016 18:01:48 +0000 (18:01 +0000)
commit237c84540f10b6eb35d9bef1db3a97b547d889bf
tree22e8d812298b5f1631aa0a9675d210be41b2886e
parenta26021414a71597b1a326d121d534368fb47e7ca
[SCEV] Replace a struct with a function; NFC

We can do this now thanks to C++11 lambdas.

llvm-svn: 282515
llvm/lib/Analysis/ScalarEvolution.cpp