================ @@ -135,8 +141,12 @@ static constexpr TypePattern SubscriptInt{IntType, KindCode::subscript}; // Match any kind of some intrinsic or derived types static constexpr TypePattern AnyInt{IntType, KindCode::any}; +static constexpr TypePattern AnyUnsigned{UnsignedType, KindCode::any}; ---------------- DanielCChen wrote:
I got a error from `-Wunused-const-variable` ``` llvm-project/flang/lib/Evaluate/intrinsics.cpp:144:30: error: unused variable 'AnyUnsigned' [-Werror,-Wunused-const-variable] static constexpr TypePattern AnyUnsigned{UnsignedType, KindCode::any}; ``` https://github.com/llvm/llvm-project/pull/113504 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits