From e0e63e70993eefbbe4340f345e96a5da7fe48a5a Mon Sep 17 00:00:00 2001 From: Volodymyr Sapsai Date: Fri, 11 Oct 2019 21:21:02 +0000 Subject: [ObjC] Remove default parameter no caller was providing. NFC intended. Currently there is no need to make ObjCTypeParamType have a canonical type different from the one in corresponding ObjCTypeParamDecl. So remove the corresponding unused API. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374596 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/ASTContext.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 7547960b09..5e2f4031d9 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -1503,8 +1503,7 @@ public: bool isKindOf) const; QualType getObjCTypeParamType(const ObjCTypeParamDecl *Decl, - ArrayRef protocols, - QualType Canonical = QualType()) const; + ArrayRef protocols) const; bool ObjCObjectAdoptsQTypeProtocols(QualType QT, ObjCInterfaceDecl *Decl); -- cgit v1.2.1