summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2017-02-15 22:43:27 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2017-02-15 22:43:27 +0000
commit9584508d5c4eb4ca57fd457d914bb9866ce13d18 (patch)
tree89c4946ac14cf9e270ac48f70332e5d0987900d5 /llvm/lib/IR/Function.cpp
parentc6ce73b114204e25dcca7326165fedda829e7f01 (diff)
downloadbcm5719-llvm-9584508d5c4eb4ca57fd457d914bb9866ce13d18.tar.gz
bcm5719-llvm-9584508d5c4eb4ca57fd457d914bb9866ce13d18.zip
[Modules] Consider enable_if attrs in isSameEntity.
Two functions that differ only in their enable_if attributes are considered overloads, so we should check for those when we're trying to figure out if two functions are mergeable. We need to do the same thing for pass_object_size, as well. Looks like that'll be a bit less trivial, since we sometimes do these merging checks before we have pass_object_size attributes available (see the merge checks in ASTDeclReader::VisitFunctionDecl that happen before we read parameters, and merge checks in calls to ReadDeclAs<>()). llvm-svn: 295252
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud