From: Reid Kleckner Date: Tue, 14 Jan 2014 18:10:42 +0000 (+0000) Subject: Remove unused function to fix clang -Werror build X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cc6bd540caa499bff08a8ff9307e1c43c22a690f;p=clang Remove unused function to fix clang -Werror build git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199230 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index 17f053c0d3..30f2e67e25 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -3180,13 +3180,6 @@ static void handleCallConvAttr(Sema &S, Decl *D, const AttributeList &Attr) { } } -static void handleOpenCLImageAccessAttr(Sema &S, Decl *D, - const AttributeList &Attr) { - D->addAttr(::new (S.Context) - OpenCLImageAccessAttr(Attr.getRange(), S.Context, - Attr.getAttributeSpellingListIndex())); -} - bool Sema::CheckCallingConvAttr(const AttributeList &attr, CallingConv &CC, const FunctionDecl *FD) { if (attr.isInvalid())