Add llvm::function_ref (and a couple of uses of it), representing a type-erased refer...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 6 May 2014 01:01:29 +0000 (01:01 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 6 May 2014 01:01:29 +0000 (01:01 +0000)
commit245e8bdfba68f43f32c817a41f577bba62a8ce9f
tree10474110e2d33a5e63aa5d7dda2eef4fda4a8ace
parent9331beb9100842bfff92a21c2949c482c525617d
Add llvm::function_ref (and a couple of uses of it), representing a type-erased reference to a callable object.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208025 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/STLExtras.h
include/llvm/Support/CrashRecoveryContext.h
include/llvm/Transforms/Utils/CtorUtils.h
lib/Support/CrashRecoveryContext.cpp
lib/Transforms/IPO/GlobalDCE.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/Utils/CtorUtils.cpp