diff options
author | Chris Bieneman <chris.bieneman@me.com> | 2022-03-28 15:01:41 -0500 |
---|---|---|
committer | Chris Bieneman <chris.bieneman@me.com> | 2022-03-28 16:16:17 -0500 |
commit | d394f9f8970d758cb39151328dd3040ba7f414ae (patch) | |
tree | c5f740d80e33f85ddfe1ff4d431ec372b2ebda10 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 577827cbbf1033612d6ce15169f33ee5709abbfc (diff) | |
download | llvm-d394f9f8970d758cb39151328dd3040ba7f414ae.zip llvm-d394f9f8970d758cb39151328dd3040ba7f414ae.tar.gz llvm-d394f9f8970d758cb39151328dd3040ba7f414ae.tar.bz2 |
Add HLSL Language Option and Preprocessor
Bringing in HLSL as a language as well as language options for each of
the HLSL language standards.
While the HLSL language is unimplemented, this patch adds the
HLSL-specific preprocessor defines which enables testing of the command
line options through the driver.
Reviewed By: pete, rnk
Differential Revision: https://reviews.llvm.org/D122087
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
-rw-r--r-- | clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp b/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp index af44fce..54276f6 100644 --- a/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp +++ b/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp @@ -169,6 +169,7 @@ StringRef getLanguageName(const LangOptions &LangOpts) { case Language::CUDA: case Language::RenderScript: case Language::HIP: + case Language::HLSL: // Languages that the frontend cannot parse and compile case Language::Unknown: |