[PATCH] D135495: [clang-tidy] handle pointers in `ExceptionAnalyzer`
Gábor Horváth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 10 09:03:34 PST 2023
xazax.hun added inline comments.
================
Comment at: clang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.cpp:60
+// Checks if T1 is convertible to T2.
+static bool isMultiLevelConvertiblePointer(QualType P1, QualType P2,
+ unsigned CurrentLevel = 0,
----------------
Did you take a look at `ASTContext::hasCvrSimilarType`? I wonder if it is already doing what you want.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135495/new/
https://reviews.llvm.org/D135495
More information about the cfe-commits
mailing list