clang 22.0.0git
SValBuilder.cpp File Reference

Go to the source code of this file.

Functions

static bool shouldBeModeledWithNoOp (ASTContext &Context, QualType ToTy, QualType FromTy)
 Recursively check if the pointer types are equal modulo const, volatile, and restrict qualifiers.

Function Documentation

◆ shouldBeModeledWithNoOp()

bool shouldBeModeledWithNoOp ( ASTContext & Context,
QualType ToTy,
QualType FromTy )
static

Recursively check if the pointer types are equal modulo const, volatile, and restrict qualifiers.

Also, assume that all types are similar to 'void'. Assumes the input types are canonical.

Definition at line 563 of file SValBuilder.cpp.

References clang::Type::isVoidType(), and clang::Qualifiers::removeCVRQualifiers().