llvm-project/clang/test/Misc
Akira Hatanaka 3d17313734 [tablegen] Check that an optional IdentifierArgument of an attribute is
provided before trying to print it.

This fixes a segfault that occurs when function printPretty generated by
tablegen tries to print an optional argument of attribute
objc_bridge_related.

rdar://problem/28155469

llvm-svn: 281132
2016-09-10 03:29:43 +00:00
..
Inputs
amdgcn.languageOptsOpenCL.cl [OpenCL] AMDGPU: add support of cl_khr_subgroups 2016-08-17 20:39:49 +00:00
ast-dump-arm-attr.c Prune CRLF. 2014-10-27 12:37:26 +00:00
ast-dump-attr.cpp Do not crash when dumping the objc_bridge_related attribute when its optional arguments are not supplied. 2015-11-30 15:25:34 +00:00
ast-dump-color.cpp Speculative fix for this test case (the test doesn't run on my typical build environment). 2016-03-09 17:34:16 +00:00
ast-dump-comment.cpp Comment parsing: fix a crash when dumping comment ast for a function template 2014-03-19 14:03:47 +00:00
ast-dump-decl.c Add the location of Decls to ast dump. 2014-04-02 05:48:29 +00:00
ast-dump-decl.cpp Record correct source range for defaulted/deleted members. 2015-03-23 21:43:28 +00:00
ast-dump-decl.m
ast-dump-decl.mm Fix a crash in the AST dumper. 2016-06-09 22:03:04 +00:00
ast-dump-invalid.cpp P0305R0: Semantic analysis and code generation for C++17 init-statement for 'if' and 'switch': 2016-07-14 00:11:03 +00:00
ast-dump-lookups.cpp Improve AST dumping: 2016-01-12 21:59:26 +00:00
ast-dump-msp430-attr.c Prune CRLF. 2014-10-27 12:37:26 +00:00
ast-dump-pipe.cl [OpenCL] Fix pipe type dump. 2016-05-03 05:37:07 +00:00
ast-dump-stmt.c
ast-dump-stmt.cpp Fix -ast-dump of dependent new and delete exprs 2015-03-19 18:47:47 +00:00
ast-dump-stmt.m
ast-dump-templates.cpp When pretty-printing a declaration of a pack, put the ellipsis before the name 2014-07-23 03:17:06 +00:00
ast-dump-wchar.cpp
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 [tablegen] Check that an optional IdentifierArgument of an attribute is 2016-09-10 03:29:43 +00:00
ast-print-pragmas-xfail.cpp Adds a Pragma spelling for attributes to tablegen and makes use of it for loop 2014-06-13 17:57:25 +00:00
ast-print-pragmas.cpp Add loop pragma for Loop Distribution 2016-06-14 12:04:26 +00:00
attr-source-range.cpp Prune CRLF. 2014-10-27 12:37:26 +00:00
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 Implement -Wframe-larger-than backend diagnostic 2014-06-05 22:10:59 +00:00
backend-stack-frame-diagnostics.cpp Prevent link warnings due to -Wframe-larger-than= 2014-07-10 02:13:29 +00:00
caret-diags-macros.c [diagnostics] Avoid crashes while printing macro backtraces 2015-12-08 01:08:09 +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
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 Improve specificity in the diag-mapping2.c test 2014-06-10 06:08:41 +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 Fix crash in template type diffing. 2016-08-05 03:16:36 +00:00
diag-trailing-null-bytes.cpp
diag-verify.cpp
diagnostic-crash.cpp
driver-verify.c
emit-html-insert.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
emit-html.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
error-limit-multiple-notes.cpp When sorting overload candidates, sort arity mismatches in ascending 2014-05-01 21:15:24 +00:00
error-limit.c
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
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 Re-fix previous commit. 2014-03-03 19:46:28 +00:00
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 Correctly handle reading locations from serialized diagnostics 2014-10-10 22:20:26 +00:00
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 Split out header integration tests 2014-05-04 13:00:32 +00:00
warning-flags-enabled.c Use %select to merge similar diagnostics. NFC 2015-11-14 02:09:55 +00:00
warning-flags-tree.c
warning-flags.c Use %select to merge similar diagnostics. NFC 2015-11-14 02:09:55 +00:00
win32-macho.c Remove dev/null redirect and x86 backend requirement from new test. 2014-06-11 20:19:07 +00:00
working-directory.c
wrong-encoding.c
wrong-encoding2.c