lebedev.ri added inline comments.

================
Comment at: clang/lib/CodeGen/CodeGenFunction.cpp:2524
   // defined.
-  if (Ty->getPointeeType().isVolatileQualified())
+  if (!Ty->getPointeeType().isNull() && 
Ty->getPointeeType().isVolatileQualified())
     return;
----------------
vsk wrote:
> Is the pointee type associated with a PointerType QualType ever supposed to 
> be null? I wonder why this happens, and whether it can cause problems in 
> other places.
Basically, we can't just use `getPointeeType()` here, but i'm not sure what 
should be used instead.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92001/new/

https://reviews.llvm.org/D92001

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to