llvm-project/clang/test
Chris Bieneman 9f499d9d73 [HLSL] Support HLSL vector initializers
In HLSL vectors are ext_vectors in all respects except that they
support a constructor style syntax for initializing vectors. This
change adds a translation of vector constructor arguments into
initializer lists.

This supports two oddities of HLSL syntax:
(1) HLSL vectors support constructor syntax
(2) HLSL vectors are expanded to constituate components in constructors

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D127802
2022-06-21 12:33:42 -05:00
..
APINotes
ARCMT [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
AST [HLSL] Support HLSL vector initializers 2022-06-21 12:33:42 -05:00
ASTMerge
Analysis [clang][Analyzer] Add errno state to standard functions modeling. 2022-06-21 08:56:41 +02:00
C/drs Rolling back tests for WG14 DR145 2022-06-15 15:37:14 -04:00
CXX [Concepts] Implement overload resolution for destructors (P0848) 2022-06-19 00:30:37 +03:00
ClangScanDeps [clang][deps] Sort submodules when calculating dependencies 2022-06-17 07:55:27 -07:00
CodeCompletion
CodeGen [Clang][VE] Add missing intrinsics 2022-06-21 07:30:36 +09:00
CodeGenCUDA [HIP] fix long double size 2022-06-14 21:57:56 -04:00
CodeGenCUDASPIRV [Driver][test] Remove unused/obsoleted REQUIRES: clang-driver 2022-04-12 13:29:46 -07:00
CodeGenCXX [clang][sema] Generate builtin operator overloads for (volatile) _Atomic types 2022-06-20 11:03:29 +02:00
CodeGenCoroutines [Coroutines] Convert coroutine.presplit to enum attr 2022-06-14 14:23:46 +08:00
CodeGenHIP
CodeGenHLSL [HLSL] Enable vector types for hlsl. 2022-05-31 13:54:17 -07:00
CodeGenObjC Stop wrapping GCCAsmStmts inside StmtExprs to destruct temporaries 2022-06-17 17:28:00 -07:00
CodeGenObjCXX [DeadArgElim] Re-apply: Set unused arguments for internal functions 2022-05-12 08:46:16 -07:00
CodeGenOpenCL [AMDGPU] gfx11 new dot instruction codegen support 2022-06-16 14:19:34 -04:00
CodeGenOpenCLCXX
CodeGenSYCL
Coverage
CoverageMapping [clang][NFC] Cleanup some coroutine tests 2022-05-16 05:15:12 -07:00
Driver [Driver] Pass -X to ld for riscv64-fuchsia 2022-06-20 21:05:01 -04:00
ExtractAPI [clang][extract-api] Don't emit symbols prefixed with an underscore 2022-05-25 19:02:18 +01:00
FixIt Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
Format [clang-format] Allow empty .clang-format file 2022-04-12 21:20:54 -07:00
Frontend [clang] Reject non-declaration C++11 attributes on declarations 2022-06-15 11:58:26 +02:00
Headers [OpenCL] Reword unknown extension pragma diagnostic 2022-06-15 10:54:46 +01:00
Import [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
Index Revert "[clang][test] mark tests added in ee8524087c as unsupported on AIX" 2022-05-30 09:35:26 -04:00
Integration
InterfaceStubs
Interpreter Reland "[CodeGen] Keep track info of lazy-emitted symbols in ModuleBuilder" 2022-06-18 20:27:21 +08:00
Layout
Lexer [Tooling/DependencyScanning & Preprocessor] Refactor dependency scanning to produce pre-lexed preprocessor directive tokens, instead of minimized sources 2022-05-26 12:50:06 -07:00
LibClang
Misc Revert "[analyzer] Deprecate `-analyzer-store region` flag" 2022-06-10 08:50:13 -04:00
Modules [Clang][Modules] Merge availability attributes on imported decls 2022-06-15 17:46:16 -07:00
OpenMP [OpenMP] Initial parsing and sema for 'parallel masked' construct 2022-06-16 18:01:15 -07:00
PCH Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
Parser PowerPC] Emit warning for incompatible vector types that are currently diagnosed with -fno-lax-vector-conversions 2022-06-16 20:28:34 -05:00
ParserHLSL [HLSL] Adjust access specifier behavior 2022-04-28 10:37:50 -05:00
ParserSYCL
Preprocessor [Lex] Fix `fixits` for typo-corrections of preprocessing directives within skipped blocks 2022-06-10 13:32:19 -07:00
Profile [NFC] Rename Instrinsic to Intrinsic 2022-04-25 18:13:23 +01:00
Refactor
Rewriter [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
Sema [Clang] Allow 'Complex float __attribute__((mode(HC)))' 2022-06-17 12:39:52 +01:00
SemaCUDA Fix test; we now expect a pedantic warning 2022-05-11 06:52:21 -04:00
SemaCXX [clang][sema] Generate builtin operator overloads for (volatile) _Atomic types 2022-06-20 11:03:29 +02:00
SemaHLSL [HLSL] Support HLSL vector initializers 2022-06-21 12:33:42 -05:00
SemaObjC [clang] Reject non-declaration C++11 attributes on declarations 2022-06-15 11:58:26 +02:00
SemaObjCXX Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
SemaOpenCL [clang] Reject non-declaration C++11 attributes on declarations 2022-06-15 11:58:26 +02:00
SemaOpenCLCXX
SemaSYCL
SemaTemplate [Concepts] Implement overload resolution for destructors (P0848) 2022-06-19 00:30:37 +03:00
TableGen
Templight
Tooling Revert "[clang-diff] Fix assertion error when dealing with wide strings" 2022-06-07 14:58:10 -07:00
Unit [lit] Fix setup of sanitizer environment 2022-05-19 19:24:16 -07:00
VFS Reland "[dwarf] Emit a DIGlobalVariable for constant strings." 2022-05-18 13:56:45 -07:00
clang-rename
utils/update_cc_test_checks Revert "[utils] Avoid hardcoding metadata ids in update_cc_test_checks" 2022-05-10 14:04:19 -07:00
.clang-format
CMakeLists.txt [clang-fuzzer] Add a tiny tool to generate a fuzzing dictionary for clang 2022-05-09 18:25:29 +02:00
TestRunner.sh
lit.cfg.py cmake: configure clang lit to use hmaptool from source directly 2022-06-16 13:08:50 +02:00
lit.site.cfg.py.in [Driver] Change CLANG_ENABLE_OPAQUE_POINTERS_INTERNAL to affect driver default instead of cc1 default 2022-04-13 16:58:00 -07:00