llvm-project/clang/lib
Xiang Li 8a27a2f89f [HLSL] Support -E option for HLSL.
-E option will set entry function for hlsl.
The format is -E entry_name.

To avoid conflict with existing option with name 'E', add an extra prefix '--'.

A new field HLSLEntry is added to TargetOption.
To share code with HLSLShaderAttr, entry function will be add HLSLShaderAttr attribute too.

Reviewed By: beanz

Differential Revision: https://reviews.llvm.org/D124751
2022-08-04 16:54:19 -07:00
..
APINotes
ARCMigrate [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
AST [Sema] -Wformat: support C23 format specifier %b %B 2022-08-04 10:26:31 -07:00
ASTMatchers Revert "ManagedStatic: remove from ASTMatchersInternal.h" 2022-07-27 15:46:21 +02:00
Analysis [clang][dataflow] Analyze method bodies 2022-08-04 17:45:47 +00:00
Basic [AArch64] Always allow the __bf16 type 2022-08-04 18:35:27 +01:00
CodeGen AMDGPU/clang: Remove dead code 2022-08-04 19:02:56 -04:00
CrossTU Fixed a number of typos 2022-08-01 13:13:18 -04:00
DirectoryWatcher [clang] Don't use Optional::hasValue (NFC) 2022-06-20 10:51:34 -07:00
Driver [HLSL] Support -E option for HLSL. 2022-08-04 16:54:19 -07:00
Edit Use any_of (NFC) 2022-07-24 14:48:11 -07:00
ExtractAPI Fixed a number of typos 2022-08-01 13:13:18 -04:00
Format Fixed a number of typos 2022-08-01 13:13:18 -04:00
Frontend [HLSL] Support -E option for HLSL. 2022-08-04 16:54:19 -07:00
FrontendTool [C++20][Modules][HU 1/5] Introduce header units as a module type. 2022-03-25 09:17:14 +00:00
Headers [clang][Headers] Avoid compiler warnings in builtin headers 2022-08-03 17:56:17 -07:00
Index [AST] Improve traversal of concepts and concept requirements 2022-04-28 09:33:26 +00:00
IndexSerialization
Interpreter Handles failing driver tests of clang 2022-08-02 12:29:26 +05:30
Lex Fixed a number of typos 2022-08-01 13:13:18 -04:00
Parse Fixed a number of typos 2022-08-01 13:13:18 -04:00
Rewrite Add assert on End iteration distance to Rewriter::getRewrittenText. 2022-01-25 17:26:13 +00:00
Sema [HLSL] Support -E option for HLSL. 2022-08-04 16:54:19 -07:00
Serialization [Clang][C++20] Support capturing structured bindings in lambdas 2022-08-04 10:12:53 +02:00
StaticAnalyzer [Clang][C++20] Support capturing structured bindings in lambdas 2022-08-04 10:12:53 +02:00
Support [RISCV][Clang] Support policy function for all vector segment load. 2022-08-04 17:47:24 +00:00
Testing [include-cleaner] Include-cleaner library structure, and simplistic AST walking. 2022-04-29 11:04:11 +02:00
Tooling CommandLine: add and use cl::SubCommand::get{All,TopLevel} 2022-08-02 23:49:16 +02:00
CMakeLists.txt [RISCV] Moving RVV intrinsic type related util to clang/Support 2022-04-20 21:13:13 +08:00