llvm-project/clang/test/Misc
Akira Hatanaka 98a49337be 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.

This recommits r313722, which was reverted in r313725 because clang
couldn't build compiler-rt. It failed to build because there were
function declarations that were missing 'noescape'. That has been fixed
in r313929.

rdar://problem/19886775

Differential Revision: https://reviews.llvm.org/D32210

llvm-svn: 313945
2017-09-22 00:41:05 +00:00
..
Inputs Add missing file from r306075. 2017-06-23 01:18:27 +00:00
amdgcn.languageOptsOpenCL.cl [OpenCL] AMDGPU: add support of cl_khr_subgroups 2016-08-17 20:39:49 +00:00
ast-dump-arm-attr.c
ast-dump-attr.cpp Add support for attribute 'noescape'. 2017-09-22 00:41:05 +00:00
ast-dump-color.cpp Indicate in AST dump whether special member functions are defaulted and trivial. 2016-11-21 23:43:54 +00:00
ast-dump-comment.cpp
ast-dump-decl.c [clang] Remove redundant check-prefix=CHECK from tests. NFC. 2017-07-17 17:31:44 +00:00
ast-dump-decl.cpp Extend -ast-dump for CXXRecordDecl to dump the flags from the DefinitionData. 2017-09-22 00:11:15 +00:00
ast-dump-decl.m [AST/ObjC] Make ObjCCategoryImplDecl consistent with ObjCCategoryDecl and use the category name as its DeclName 2017-03-07 09:26:07 +00:00
ast-dump-decl.mm Fix a crash in the AST dumper. 2016-06-09 22:03:04 +00:00
ast-dump-invalid.cpp Extend -ast-dump for CXXRecordDecl to dump the flags from the DefinitionData. 2017-09-22 00:11:15 +00:00
ast-dump-lookups.cpp Improve AST dumping: 2016-01-12 21:59:26 +00:00
ast-dump-msp430-attr.c
ast-dump-pipe.cl [OpenCL] Introduce ReadPipeType and WritePipeType. 2016-11-18 14:10:54 +00:00
ast-dump-stmt.c
ast-dump-stmt.cpp [AST] Dump dependent scope member expression with its member name 2016-11-09 14:02:18 +00:00
ast-dump-stmt.m
ast-dump-templates.cpp Handle deduction guides better in -ast-print. 2017-02-18 01:01:48 +00:00
ast-dump-wchar.cpp [ASTDumper] Add some more character escapes for convenience. 2016-11-24 09:41:33 +00:00
ast-print-char-literal.cpp Fix the ASTPrinter output for ascii char literals >127. 2016-02-13 02:31:28 +00:00
ast-print-objectivec.m ASTPrinter: Objective-C method declarations don't need a space after 2017-06-02 15:02:59 +00:00
ast-print-out-of-line-func.cpp [ASTPrinter] Print template parameter lists for out-of-line functions 2017-04-18 15:12:34 +00:00
ast-print-pragmas-xfail.cpp
ast-print-pragmas.cpp Add loop pragma for Loop Distribution 2016-06-14 12:04:26 +00:00
attr-source-range.cpp
backend-optimization-failure-nodbg.cpp Attempt to pacify buildbots after r280217 2016-08-31 11:01:41 +00:00
backend-optimization-failure.cpp Attempt to pacify buildbots after r280217 2016-08-31 11:01:41 +00:00
backend-resource-limit-diagnostics.cl Update for DiagnosticInfoStackSize changes 2016-06-20 18:13:09 +00:00
backend-stack-frame-diagnostics-fallback.cpp
backend-stack-frame-diagnostics.cpp Disable warning about MSVC not found. 2017-03-15 16:35:13 +00:00
caret-diags-macros.c [diagnostics] Avoid crashes while printing macro backtraces 2015-12-08 01:08:09 +00:00
caret-diags-multiline.cpp PR33902: Invalidate line number cache when adding more text to existing buffer. 2017-07-30 06:31:29 +00:00
caret-diags-scratch-buffer.c
cc1as-asm.s Revert "[Driver] Quote clang full version in dwarf producer when invoking cc1as" 2016-05-02 20:20:49 +00:00
cc1as-compress.s Revert "Revert r305164/5/7." 2017-06-23 15:34:16 +00:00
dev-fd-fs.c
diag-aka-types.cpp PR10405 - Desugar FunctionType and TemplateSpecializationType if any type that appears inside needs to be desugared. 2015-07-16 01:06:17 +00:00
diag-format.c Get default -fms-compatibility-version from cl.exe's version 2016-05-13 23:20:11 +00:00
diag-line-wrapping.cpp
diag-macro-backtrace.c
diag-macro-backtrace2.c Improve the printing of ranges when macros are involved. 2015-09-24 01:21:01 +00:00
diag-mapping.c
diag-mapping2.c Add compatibility alias for -Wno-#warnings 2017-06-01 19:08:34 +00:00
diag-null-bytes-in-line.cpp Don't crash w/ a diagnostic range containing a null byte 2016-02-17 22:37:45 +00:00
diag-presumed.c Stop printing macro backtraces that don't help diagnostics. 2015-08-12 18:24:59 +00:00
diag-special-chars.c Attempt to fix test from r225423 to get build bots green. 2015-01-08 02:40:08 +00:00
diag-template-diffing-color.cpp Template Type Diffing change 2016-02-02 00:36:59 +00:00
diag-template-diffing-cxx98.cpp Template Type Diffing change 2016-02-02 00:36:59 +00:00
diag-template-diffing.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
diag-trailing-null-bytes.cpp
diag-verify.cpp
diagnostic-crash.cpp
driver-verify.c
emit-html-insert.c
emit-html.c
error-limit-multiple-notes.cpp
error-limit.c
find-diagnostic-id.c [diagtool] Add ability to pass in the id and return the name for a 2017-08-03 16:13:13 +00:00
freebsd-arm-size_t.c
include-stack-for-note-flag.cpp
integer-literal-printing.cpp
interpreter.c Reenable Misc/interpreter.c as r239388 correctly handles such targets 2015-06-09 06:33:13 +00:00
languageOptsOpenCL.cl [OpenCL] Add supported OpenCL extensions to target info. 2016-05-16 17:06:34 +00:00
macro-backtrace.c
message-length.c
nvptx.languageOptsOpenCL.cl NVPTX: Add supported CL features 2016-06-17 19:02:14 +00:00
permissions.cpp Erase REQUIRES: shell-preserves-root from remaining tests, see r242312.þ 2015-07-15 20:04:18 +00:00
pr32207.c Address David Blaikie comment by replacing grep with FileCheck. 2017-06-12 18:29:37 +00:00
pragma-attribute-cxx-subject-match-rules.cpp Extend -ast-dump for CXXRecordDecl to dump the flags from the DefinitionData. 2017-09-22 00:11:15 +00:00
pragma-attribute-cxx.cpp Extend -ast-dump for CXXRecordDecl to dump the flags from the DefinitionData. 2017-09-22 00:11:15 +00:00
pragma-attribute-objc-subject-match-rules.m Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
pragma-attribute-objc.m Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
pragma-attribute-strict-subjects.c Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
pragma-attribute-supported-attributes-list.test Add support for attribute 'noescape'. 2017-09-22 00:41:05 +00:00
predefines.c
r600.languageOptsOpenCL.cl AMDGPU: Fix supported CL features 2016-06-17 02:25:03 +00:00
reduced-diags-macros-backtrace.cpp Stop printing macro backtraces that don't help diagnostics. 2015-08-12 18:24:59 +00:00
reduced-diags-macros.cpp Improve the printing of ranges when macros are involved. 2015-09-24 01:21:01 +00:00
remap-file.c
serialized-diags-driver.c [MSVC Compat] Only warn for unknown clang-cl arguments 2016-01-25 21:14:52 +00:00
serialized-diags-frontend.c
serialized-diags-no-category.c
serialized-diags-no-issue.c
serialized-diags-really-long-text.cpp [Frontend] Fix crash when serializing diagnostics with really long text. 2015-08-06 18:46:36 +00:00
serialized-diags-single-issue.c
serialized-diags-stable.c
serialized-diags.c Improve the printing of ranges when macros are involved. 2015-09-24 01:21:01 +00:00
serialized-diags.h
serialized-diags.m
show-diag-options.c
tabstop.c
target-parser.c Misc: add a test for TargetParser usage 2016-03-05 21:12:33 +00:00
thinlto.c Make thinlto clang test more robust against LLVM changes. 2016-04-24 03:44:55 +00:00
unnecessary-elipses.cpp
unprintable.c
verify.c
warn-in-system-header.c
warn-in-system-header.h
warn-sysheader.cpp
warning-flags-enabled.c Use %select to merge similar diagnostics. NFC 2015-11-14 02:09:55 +00:00
warning-flags-tree.c [diagtool] Change default tree behavior to print only flags 2017-09-05 18:04:40 +00:00
warning-flags.c Fix grammar in comment. NFC 2017-05-08 17:06:17 +00:00
win32-macho.c
working-directory.c
wrong-encoding.c
wrong-encoding2.c