forked from OSchip/llvm-project
parent
e11f17f5ed
commit
7a1a8e25ea
|
@ -117,18 +117,6 @@ public:
|
|||
};
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Utility functions.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
static bool IsAnyPointerOrIntptr(QualType ty, ASTContext &Ctx) {
|
||||
if (ty->isAnyPointerType())
|
||||
return true;
|
||||
|
||||
return ty->isIntegerType() && ty->isScalarType() &&
|
||||
Ctx.getTypeSize(ty) == Ctx.getTypeSize(Ctx.VoidPtrTy);
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Main RegionStore logic.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue