From f8a75c3793eaf959c2423f861c24aa24ccdcda0f Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 29 Aug 2013 00:47:48 +0000 Subject: Remove Inheritable/NonInheritable flags from ProcessDeclAttributes. They don't do anything useful. llvm-svn: 189548 --- clang/lib/Parse/ParseCXXInlineMethods.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/lib/Parse/ParseCXXInlineMethods.cpp') diff --git a/clang/lib/Parse/ParseCXXInlineMethods.cpp b/clang/lib/Parse/ParseCXXInlineMethods.cpp index baba90840fd..ed087e342ae 100644 --- a/clang/lib/Parse/ParseCXXInlineMethods.cpp +++ b/clang/lib/Parse/ParseCXXInlineMethods.cpp @@ -55,8 +55,7 @@ NamedDecl *Parser::ParseCXXInlineMethodDef(AccessSpecifier AS, TemplateParams, 0, VS, ICIS_NoInit); if (FnD) { - Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs, false, - true); + Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs); bool TypeSpecContainsAuto = D.getDeclSpec().containsPlaceholderType(); if (Init.isUsable()) Actions.AddInitializerToDecl(FnD, Init.get(), false, -- cgit v1.2.3