summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2013-07-16 15:33:19 +0000
committerFariborz Jahanian <fjahanian@apple.com>2013-07-16 15:33:19 +0000
commit0080fb5a1869ffdaa165895bb695f6a0c32e21e3 (patch)
tree3bd7cb04a615fe9a0420b49aa358f9db8fcd40b9 /clang/lib/Parse
parent26bf9a0c75beda69ad123bee0702af32e9ca13cb (diff)
downloadbcm5719-llvm-0080fb5a1869ffdaa165895bb695f6a0c32e21e3.tar.gz
bcm5719-llvm-0080fb5a1869ffdaa165895bb695f6a0c32e21e3.zip
This patch removes unused parameter allProperties and converts remaining
parameters in ArrayRef'ize Sema::ActOnAtEnd to ArrayRef. Patch by Robert Wilhelm. llvm-svn: 186421
Diffstat (limited to 'clang/lib/Parse')
-rw-r--r--clang/lib/Parse/ParseObjc.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/Parse/ParseObjc.cpp b/clang/lib/Parse/ParseObjc.cpp
index e4793dbd41b..5e308a6b575 100644
--- a/clang/lib/Parse/ParseObjc.cpp
+++ b/clang/lib/Parse/ParseObjc.cpp
@@ -537,10 +537,7 @@ void Parser::ParseObjCInterfaceDeclList(tok::ObjCKeywordKind contextKey,
// Insert collected methods declarations into the @interface object.
// This passes in an invalid SourceLocation for AtEndLoc when EOF is hit.
- Actions.ActOnAtEnd(getCurScope(), AtEnd,
- allMethods.data(), allMethods.size(),
- allProperties.data(), allProperties.size(),
- allTUVariables.data(), allTUVariables.size());
+ Actions.ActOnAtEnd(getCurScope(), AtEnd, allMethods, allTUVariables);
}
/// Parse property attribute declarations.
OpenPOWER on IntegriCloud