[clang] [Clang] Introduce `CXXTypeidExpr::hasNullCheck` (PR #95718)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 17 02:56:24 PDT 2024
================
@@ -166,6 +166,55 @@ QualType CXXTypeidExpr::getTypeOperand(ASTContext &Context) const {
Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType(), Quals);
}
+namespace {
+static bool isGLValueFromPointerDeref(const Expr *E) {
----------------
Sirraide wrote:
Pretty sure `namespace {` *and* `static` is redundant; we usually only use `static`.
https://github.com/llvm/llvm-project/pull/95718
More information about the cfe-commits
mailing list