================
@@ -2438,6 +2445,12 @@ TypeInfo ASTContext::getTypeInfoImpl(const Type *T)
const {
Width = Target->getPointerWidth(LangAS::Default);
Align = Target->getPointerAlign(LangAS::Default);
break;
+#define SPIRV_TYPE(Name, Id, SingletonId)
\
+ case BuiltinType::Id:
\
+ Width = Target->getPointerWidth(LangAS::Default);
\
+ Align = Target->getPointerAlign(LangAS::Default);
\
+ break;
+#include "clang/Basic/SPIRVTypes.def"
----------------
tahonermann wrote:
It looks like `encodeTypeForFunctionPointerAuth()` around line 3580 should be
updated as well, perhaps with just an `llvm_unreachable()` call.
https://github.com/llvm/llvm-project/pull/207077
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits