llvm-project/clang/test
Chris Bieneman 0d6b574b87 [HLSL] Adjust access specifier behavior
HLSL doesn't support access specifiers. This change has two components:

1) Make default access for classes public
2) Diagnose the use of access specifiers as a clang HLSL extension

As long as the default behavior for access specifiers matches HLSL,
allowing them to be used doesn't cause sourece incompatability with
valid code. As such enabling them as a clang extension seems like a
reasonable approach.

Fixes #55124

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D124487
2022-04-28 10:37:50 -05:00
..
APINotes
ARCMT [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
AST Reland "[AST] Add a new TemplateKind for template decls found via a using decl."" 2022-04-14 11:04:55 +02:00
ASTMerge Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
Analysis [analyzer] Fix ValistChecker false-positive involving symbolic pointers 2022-04-26 08:49:05 +02:00
CXX Reverting accidental git-revert commits. 2022-04-23 20:12:15 -05:00
ClangScanDeps [clang][deps] Ensure deterministic filename case 2022-04-08 09:18:00 +02:00
CodeCompletion Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
CodeGen [Driver] Add f16 support to -mrecip parsing. 2022-04-28 08:33:52 -07:00
CodeGenCUDA [CUDA][HIP] Fix linkage of __clang_gpu_used_external 2022-04-26 20:43:39 -04:00
CodeGenCUDASPIRV [Driver][test] Remove unused/obsoleted REQUIRES: clang-driver 2022-04-12 13:29:46 -07:00
CodeGenCXX Fix test from 5ff992 to work with win 32 bit, fix a typo. 2022-04-26 06:37:19 -07:00
CodeGenCoroutines [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
CodeGenHIP [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
CodeGenHLSL Add clang DirectX target support 2022-03-28 15:00:50 -05:00
CodeGenObjC [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
CodeGenObjCXX [test] Remove various legacy pass manager tests 2022-04-11 14:02:17 -07:00
CodeGenOpenCL [Clang] Add -no-opaque-pointers to more tests (NFC) 2022-04-07 12:53:29 +02:00
CodeGenOpenCLCXX [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
CodeGenSYCL [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
Coverage [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
CoverageMapping Revert "[InstrProfiling] No runtime hook for unused funcs" 2022-04-06 01:41:44 +00:00
Driver [Driver] Add f16 support to -mrecip parsing. 2022-04-28 08:33:52 -07:00
ExtractAPI [clang][extract-api] Add support for true anonymous enums 2022-04-12 20:42:17 +01:00
FixIt [C89/C2x] Improve diagnostics around strict prototypes in C 2022-04-08 16:19:58 -04:00
Format [clang-format] Allow empty .clang-format file 2022-04-12 21:20:54 -07:00
Frontend Revert "[clang][safestack] Remove triple from stack usage test" 2022-04-21 22:47:56 +00:00
Headers [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
Import [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
Index Clear temporary file in test, buildbot appears to be reusing an old one. 2022-04-25 17:26:39 +02:00
Integration Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
InterfaceStubs Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
Interpreter
Layout
Lexer [clang][lexer] Allow u8 character literal prefixes in C2x 2022-04-19 09:57:51 +02:00
LibClang
Misc [cc1as] Add support for emitting the build version load command for -darwin-target-variant 2022-04-22 08:38:07 -04:00
Modules [modules] Merge equivalent extensions and diagnose ivar redeclarations for extensions loaded from different modules. 2022-04-27 15:52:59 -07:00
OpenMP [OpenMPIRBuilder] Remove ContinuationBB argument from Body callback. 2022-04-26 16:35:01 -05:00
PCH Revert "Revert "Revert "[clang][pp] adds '#pragma include_instead'""" 2022-04-22 16:37:20 +00:00
Parser [C2x] Disallow functions without prototypes/functions with identifier lists 2022-04-20 13:28:15 -04:00
ParserHLSL [HLSL] Adjust access specifier behavior 2022-04-28 10:37:50 -05:00
ParserSYCL
Preprocessor Revert "Revert "Revert "[clang][pp] adds '#pragma include_instead'""" 2022-04-22 16:37:20 +00:00
Profile [NFC] Rename Instrinsic to Intrinsic 2022-04-25 18:13:23 +01:00
Refactor Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
Rewriter [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
Sema [Sema][SVE2] Move/simplify Sema testing for SVE2 ACLE builtins 2022-04-28 13:41:09 +01:00
SemaCUDA [CUDA][HIP] Fix delete operator for -fopenmp 2022-04-19 14:28:03 -04:00
SemaCXX re-roll-forward "[clang] Mark `trivial_abi` types as "trivially relocatable""."" 2022-04-28 14:53:59 +02:00
SemaHLSL [HLSL] Add shader attribute 2022-04-20 23:46:43 -07:00
SemaObjC [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
SemaObjCXX re-roll-forward "[clang] Mark `trivial_abi` types as "trivially relocatable""."" 2022-04-28 14:53:59 +02:00
SemaOpenCL [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
SemaOpenCLCXX
SemaSYCL
SemaTemplate [Clang][Sema] Prohibit statement expression in the default argument 2022-04-06 09:28:20 +08:00
TableGen
Templight
Tooling
Unit Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00
VFS [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
clang-rename
utils/update_cc_test_checks [Clang] Add -no-opaque-pointers to more tests (NFC) 2022-04-07 12:53:29 +02:00
.clang-format
CMakeLists.txt [Driver] Change CLANG_ENABLE_OPAQUE_POINTERS_INTERNAL to affect driver default instead of cc1 default 2022-04-13 16:58:00 -07:00
TestRunner.sh
lit.cfg.py [OpenMP] Add better testing for the linker wrapper 2022-04-19 18:37:09 -04: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