[clang] Diagnose misuse of the cleanup attribute (PR #80040)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 1 07:14:01 PST 2024
================
@@ -10098,6 +10098,23 @@ static bool isVector(QualType QT, QualType ElementType) {
return false;
}
+bool Sema::IsPointerToPointer(QualType LHSType, QualType RHSType) {
+ if (const PointerType *LHSPointer = dyn_cast<PointerType>(LHSType)) {
----------------
erichkeane wrote:
I think this function needs to be reformatted to do 'early exit' here.
https://github.com/llvm/llvm-project/pull/80040
More information about the cfe-commits
mailing list