[MLIR][Presburger] Make PWMAFunction inheritence from space private
authorGroverkss <groverkss@gmail.com>
Mon, 11 Apr 2022 14:31:27 +0000 (20:01 +0530)
committerGroverkss <groverkss@gmail.com>
Mon, 11 Apr 2022 14:31:38 +0000 (20:01 +0530)
commit8fc0e89d0b9319034978c2a1df2bd20df89e247d
treeb098f6938a34491919ec904618db3c3568645b5b
parent973dbe20f681ca885edd0f5e63cde62dbdb6c186
[MLIR][Presburger] Make PWMAFunction inheritence from space private

This patch makes inheritence from PresburgerSpace for PWMAFunction private.

The reasoning for this patch is to prevent implicit conversion to
PresburgerSpace from PWMAFunction and to not expose all functions exposed by
PresburgerSpace in PWMAFunction.

Reviewed By: arjunp

Differential Revision: https://reviews.llvm.org/D123076
mlir/include/mlir/Analysis/Presburger/PWMAFunction.h