llvm-capstone/clang/test/Misc
Timm Baeder fedc982731
[clang][Diagnostics] Add source range to uninitialized diagnostics (#65896)
Before:

```
array.cpp:319:10: note: read of uninitialized object is not allowed in a constant expression
  319 |    return aaa;
      |           ^
```

After:

```
array.cpp:319:10: note: read of uninitialized object is not allowed in a constant expression
  319 |    return aaa;
      |           ^~~
```
2023-09-11 07:03:18 +02:00
..
Inputs [clang][Sema] Provide source range to several Wunused warnings 2023-06-16 19:26:53 +09:00
amdgcn.languageOptsOpenCL.cl
attr-source-range.cpp
backend-optimization-failure-nodbg.cpp
backend-optimization-failure.cpp
backend-resource-limit-diagnostics.cl clang: Improve errors for DiagnosticInfoResourceLimit 2022-10-28 21:42:57 -07:00
backend-resource-limit-diagnostics.hip clang: Improve errors for DiagnosticInfoResourceLimit 2022-10-28 21:42:57 -07:00
backend-stack-frame-diagnostics-attributes.cpp
backend-stack-frame-diagnostics-fallback.cpp DiagnosticInfo: Report function location for resource limits 2022-10-28 21:42:57 -07:00
backend-stack-frame-diagnostics.cpp [clang] Don't use the AST to display backend diagnostics 2021-10-04 14:14:32 -07:00
caret-diags-macros.c [clang] Remove rdar links; NFC 2023-08-28 12:13:42 -04:00
caret-diags-multiline.cpp [clang][Driver] Add -fcaret-diagnostics-max-lines= as a driver option 2023-06-12 12:44:25 +02:00
caret-diags-scratch-buffer.c
cc1as-as-secure-log-file.s [clang][test] Require x86 target in a couple new tests 2022-10-28 17:00:18 -07:00
cc1as-asm-debug.s
cc1as-asm.s
cc1as-compress.s [cc1as] Support --compress-debug-sections=zstd 2022-09-08 16:31:45 -07:00
cc1as-darwin-target-variant-sdk-version.s [clang][macho] Add support for -darwin-target-variant-sdk-version in cc1as 2022-10-14 14:33:10 -07:00
cc1as-darwin-target-variant-triple.s [cc1as] Add support for emitting the build version load command for -darwin-target-variant 2022-04-22 08:38:07 -04:00
cc1as-debug-format.s
cc1as-split-dwarf.s
clear-ast-before-backend-plugins.c [test] Make sure plugin actually runs in clear-ast-before-backend-plugins.c 2021-10-21 11:38:16 -07:00
clear-ast-before-backend.c Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
constexpr-source-ranges.cpp [clang][Diagnostics] Add source range to uninitialized diagnostics (#65896) 2023-09-11 07:03:18 +02:00
constexpr-subobj-init-source-ranges.cpp [clang][ExprConstant] Fix crash on uninitialized base class subobject 2023-08-08 15:53:17 +09:00
dev-fd-fs.c
diag-aka-types.cpp [clang][clangd] Desugar array type. 2021-12-09 20:12:48 +08:00
diag-format.c
diag-func-call-ranges.c [clang][Diagnostics] Provide parameter source range to arity-mismatch notes 2023-06-26 00:27:15 +09:00
diag-func-call-ranges.cpp [clang][Diagnostics] Provide parameter source range to arity-mismatch notes 2023-06-26 00:27:15 +09:00
diag-greatergreater.cpp
diag-inline-namespace.cpp
diag-line-wrapping.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
diag-macro-backtrace2.c Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
diag-macro-backtrace.c [clang] Show line numbers in diagnostic code snippets 2023-05-31 07:26:03 +02:00
diag-mapping2.c [test] Test -Werror=foo -Wfoo & -Werror -Wno-error=foo -Wfoo 2022-04-15 20:14:07 -07:00
diag-mapping.c
diag-null-bytes-in-line.cpp
diag-overload-cand-ranges.cpp [clang][Diagnostics] Fix distant source ranges in bad-conversion notes 2023-07-14 22:59:41 +09:00
diag-overload-cand-ranges.mm [clang][Diagnostics] Fix distant source ranges in bad-conversion notes 2023-07-14 22:59:41 +09:00
diag-presumed.c
diag-special-chars.c Improve handling of static assert messages. 2022-06-29 14:57:35 +02:00
diag-style.cpp [clang][Diagnostics] Fix wrong line number display (#65238) 2023-09-05 12:12:42 +09:00
diag-template-diffing-color.cpp
diag-template-diffing-cxx98.cpp
diag-template-diffing.cpp [clang] Add ElaboratedType sugaring for types on implicit special members 2023-01-20 15:51:32 -08:00
diag-template.cpp [clang][TypePrinter] Teach isSubstitutedDefaultArgument about integral types 2022-12-16 11:38:51 +00:00
diag-trailing-null-bytes.cpp
diag-unused-source-ranges.cpp [clang][Sema] Provide source range to several Wunused warnings 2023-06-16 19:26:53 +09:00
diag-verify.cpp [clang][Verify] Show prefix in -verify error messages 2023-08-17 10:09:50 +02:00
diagnostic-crash.cpp
driver-verify.c [Clang] Make Clang driver suggest '-Xclang' for CC1 options passed to the driver 2022-09-24 07:58:40 -05:00
emit-html-insert.c
emit-html.c [clang] Remove rdar links; NFC 2023-08-28 12:13:42 -04:00
error-limit-multiple-notes.cpp
error-limit.c
explicit.cpp
ffp-contract.c Making the code compliant to the documentation about Floating Point 2021-11-11 07:40:35 -05:00
find-diagnostic-id.c
freebsd-arm-size_t.c
fuzzer-dictionary.test [clang-fuzzer] Add a tiny tool to generate a fuzzing dictionary for clang 2022-05-09 18:25:29 +02:00
include-stack-for-note-flag.cpp
inline-asm-clobber-warning.c
integer-literal-printing.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
languageOptsOpenCL.cl
loop-opt-setup.c Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
macro-backtrace.c [Driver] Change some Separate CC1 options to use the Joined = form 2023-06-06 13:50:04 -07:00
message-length.c [clang] Show line numbers in diagnostic code snippets 2023-05-31 07:26:03 +02:00
no-warn-in-system-macro.c
no-warn-in-system-macro.c.inc
nvptx.languageOptsOpenCL.cl
nvptx.unsupported_core.cl
opencl-c-3.0.incorrect_options.cl [OpenCL] Add support of __opencl_c_device_enqueue feature macro. 2022-01-27 14:25:59 +03:00
ppc-inline-asm-clobber-warning.c [PowerPC] Emit warning when SP is clobbered by asm 2022-01-24 15:12:23 -06:00
pragma-attribute-cxx.cpp
pragma-attribute-objc.m
pragma-attribute-strict-subjects.c
pragma-attribute-supported-attributes-list.test [clang] Allow 'nomerge' attribute for function pointers 2023-06-27 01:15:45 +03:00
predefines.c [clang] Remove rdar links; NFC 2023-08-28 12:13:42 -04:00
printer.c [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
r600.languageOptsOpenCL.cl
r600.unsupported_core.cl
reduced-diags-macros-backtrace.cpp [Driver] Change some Separate CC1 options to use the Joined = form 2023-06-06 13:50:04 -07:00
reduced-diags-macros.cpp
remap-file.c [clang][lex] Use preferred path separator in includer-relative lookup 2023-09-08 16:38:08 -07:00
serialized-diags-bcanalyzer.c
serialized-diags-driver.c Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
serialized-diags-empty-filename.c
serialized-diags-frontend.c
serialized-diags-no-category.c
serialized-diags-no-issue.c Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
serialized-diags-really-long-text.cpp
serialized-diags-single-issue.c Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
serialized-diags-stable.c Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
serialized-diags-unknown-argument.c [clang] Fix serialized diagnostics edge-cases 2022-01-26 11:21:51 +01:00
serialized-diags-unknown-target.c [Driver] Drop incorrect hint from err_target_unknown_triple 2023-05-01 18:22:49 -07:00
serialized-diags.c Strengthen -Wint-conversion to default to an error 2022-07-22 15:24:54 -04:00
serialized-diags.h
serialized-diags.m
show-diag-options.c
sloc-usage.cpp When we run out of source locations, try to produce useful information 2022-11-16 14:36:16 -08:00
tabstop.c [clang] Show line numbers in diagnostic code snippets 2023-05-31 07:26:03 +02:00
target-invalid-cpu-note.c [Driver] Remove remnant myriad pieces after Myriad.cpp removal 2023-08-25 13:29:10 -07:00
target-parser.c
time-passes.c [test] Remove references to -fno-legacy-pass-manager in tests 2022-04-11 13:40:27 -07:00
unnecessary-elipses.cpp [clang] Show line numbers in diagnostic code snippets 2023-05-31 07:26:03 +02:00
unprintable.c [clang] Show line numbers in diagnostic code snippets 2023-05-31 07:26:03 +02:00
verify.c
warn-in-system-header.c
warn-in-system-header.h
warn-in-system-macro-def.c
warn-in-system-macro-def.c.inc
warn-sysheader.cpp
warning-flags-enabled.c When we run out of source locations, try to produce useful information 2022-11-16 14:36:16 -08:00
warning-flags-tree.c
warning-flags.c Add a flag to disable "duplicate definition of category" warnings 2023-07-03 16:25:22 -07:00
warning-wall.c [clang][Analysis] Handle && and || against variable and its negation as tautology 2023-08-17 17:55:48 +09:00
win32-macho.c
working-directory.c
wrong-encoding2.c Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
wrong-encoding.c [clang] Show line numbers in diagnostic code snippets 2023-05-31 07:26:03 +02:00