Remove unused function to fix clang -Werror build

llvm-svn: 199230
This commit is contained in:
Reid Kleckner 2014-01-14 18:10:42 +00:00
parent 2689133805
commit 3a4c638900
1 changed files with 0 additions and 7 deletions

View 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())