diff --git a/clang/include/clang/AST/TypeBase.h b/clang/include/clang/AST/TypeBase.h index 9074992a3de8c..b02d9c7499fe5 100644 --- a/clang/include/clang/AST/TypeBase.h +++ b/clang/include/clang/AST/TypeBase.h @@ -9092,10 +9092,7 @@ inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &PD, // Helper class template that is used by Type::getAs to ensure that one does // not try to look through a qualified type to get to an array type. -template -using TypeIsArrayType = - std::integral_constant::value || - std::is_base_of::value>; +template using TypeIsArrayType = std::is_base_of; // Member-template getAs'. template const T *Type::getAs() const {