]> granicus.if.org Git - clang/commitdiff
Remove unused function to fix clang -Werror build
authorReid Kleckner <reid@kleckner.net>
Tue, 14 Jan 2014 18:10:42 +0000 (18:10 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 14 Jan 2014 18:10:42 +0000 (18:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199230 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDeclAttr.cpp

index 17f053c0d3ad2e9fe1856c148f5c1b7633c6a79c..30f2e67e2588e30285353cf1284f4b4975fd0e7c 100644 (file)
@@ -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())