[clang] [lldb] [HLSL] Implement intangible AST type (PR #97362)
Xiang Li via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 3 12:28:28 PDT 2024
================
@@ -2241,6 +2247,11 @@ TypeInfo ASTContext::getTypeInfoImpl(const Type *T) const {
Align = ALIGN; \
break;
#include "clang/Basic/AMDGPUTypes.def"
+#define HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId) case BuiltinType::Id:
+#include "clang/Basic/HLSLIntangibleTypes.def"
+ Width = 0;
----------------
python3kgae wrote:
Why the Width is 0?
https://github.com/llvm/llvm-project/pull/97362
More information about the cfe-commits
mailing list