summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2017-07-19 04:10:44 +0000
committerDevin Coughlin <dcoughlin@apple.com>2017-07-19 04:10:44 +0000
commitbac49e5764b99176a7f5efb2f80ea42eb46d3744 (patch)
tree6954e83e1961372c6496268d57b2cc20e12c7fbe /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent0e4ce61d2ab13327c51fb2a091a472301f9d09b7 (diff)
downloadbcm5719-llvm-bac49e5764b99176a7f5efb2f80ea42eb46d3744.tar.gz
bcm5719-llvm-bac49e5764b99176a7f5efb2f80ea42eb46d3744.zip
[analyzer] Add annotation attribute to trust retain count implementation
Add support to the retain-count checker for an annotation indicating that a function's implementation should be trusted by the retain count checker. Functions with these attributes will not be inlined and the arguments will be treating as escaping. Adding this annotation avoids spurious diagnostics when the implementation of a reference counting operation is visible but the analyzer can't reason precisely about the ref count. Patch by Malhar Thakkar! Differential Revision: https://reviews.llvm.org/D34937 llvm-svn: 308416
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud