summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-08-29 00:47:48 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-08-29 00:47:48 +0000
commitf8a75c3793eaf959c2423f861c24aa24ccdcda0f (patch)
treeab5909b77e6c1ee868cccf6da8df24245eb27dab /clang/lib/Parse
parent673bcfea83f4442d4830cc5963f39268bf5e9d40 (diff)
downloadbcm5719-llvm-f8a75c3793eaf959c2423f861c24aa24ccdcda0f.tar.gz
bcm5719-llvm-f8a75c3793eaf959c2423f861c24aa24ccdcda0f.zip
Remove Inheritable/NonInheritable flags from ProcessDeclAttributes. They don't
do anything useful. llvm-svn: 189548
Diffstat (limited to 'clang/lib/Parse')
-rw-r--r--clang/lib/Parse/ParseCXXInlineMethods.cpp3
-rw-r--r--clang/lib/Parse/ParseDeclCXX.cpp3
2 files changed, 2 insertions, 4 deletions
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,
diff --git a/clang/lib/Parse/ParseDeclCXX.cpp b/clang/lib/Parse/ParseDeclCXX.cpp
index 64465bf66e2..61b64eb8b36 100644
--- a/clang/lib/Parse/ParseDeclCXX.cpp
+++ b/clang/lib/Parse/ParseDeclCXX.cpp
@@ -2278,8 +2278,7 @@ void Parser::ParseCXXClassMemberDeclaration(AccessSpecifier AS,
ThisDecl = VT->getTemplatedDecl();
if (ThisDecl && AccessAttrs)
- Actions.ProcessDeclAttributeList(getCurScope(), ThisDecl, AccessAttrs,
- false, true);
+ Actions.ProcessDeclAttributeList(getCurScope(), ThisDecl, AccessAttrs);
}
// Handle the initializer.
OpenPOWER on IntegriCloud