================
@@ -5030,6 +5030,29 @@ bool Type::hasSizedVLAType() const {
   return false;
 }
 
+bool Type::isHLSLIntangibleType() const {
+  const Type *Ty = getUnqualifiedDesugaredType();
+
+  // check if it's a builtin type first (simple check, no need to cache it)
----------------
damyanp wrote:

> no need to cache it

This suggests to me that we cache some of the other results?  Is that correct?

Oh, I see that this is just moved code, may be worth cleaning the comment up at 
some point if it is just muddying the water.

https://github.com/llvm/llvm-project/pull/113206
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to