diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2017-07-09 06:12:56 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2017-07-09 06:12:56 +0000 |
commit | a809f28956fabc28d29103aada5f72cf847efe91 (patch) | |
tree | a484c2527a0bc4c5a619523e68fc3f7124eb0894 /llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp | |
parent | b80b44b7b9a47058c3df08e390517617968ebc83 (diff) | |
download | bcm5719-llvm-a809f28956fabc28d29103aada5f72cf847efe91.tar.gz bcm5719-llvm-a809f28956fabc28d29103aada5f72cf847efe91.zip |
[ADT] Add a default constructor and a bool conversion to function_ref.
The internal representation has a natural way to handle this and it
seems nicer than having to wrap this in an optional (with its own
separate flag).
This also matches how std::function works.
llvm-svn: 307490
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp')
0 files changed, 0 insertions, 0 deletions