diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2017-09-20 06:22:51 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2017-09-20 06:22:51 +0000 |
commit | fc587e6a570796ca321aa981866359c3ae13e21e (patch) | |
tree | f99180094d880f13e2267ac280df889296bae3db /clang/lib/Format/SortJavaScriptImports.cpp | |
parent | c8aea66627095ecff057958e06c43b4225b5bf95 (diff) | |
download | bcm5719-llvm-fc587e6a570796ca321aa981866359c3ae13e21e.tar.gz bcm5719-llvm-fc587e6a570796ca321aa981866359c3ae13e21e.zip |
Add support for attribute 'noescape'.
The attribute informs the compiler that the annotated pointer parameter
of a function cannot escape and enables IRGen to attach attribute
'nocapture' to parameters that are annotated with the attribute. That is
the only optimization that currently takes advantage of 'noescape', but
there are other optimizations that will be added later that improves
IRGen for ObjC blocks.
rdar://problem/19886775
Differential Revision: https://reviews.llvm.org/D32520
llvm-svn: 313720
Diffstat (limited to 'clang/lib/Format/SortJavaScriptImports.cpp')
0 files changed, 0 insertions, 0 deletions