summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-06-24 14:38:26 +0000
committerReid Kleckner <reid@kleckner.net>2013-06-24 14:38:26 +0000
commit5a11580205ecb4664e5d1891c8b5bfac504393f9 (patch)
tree916e6278a88adf44d5f26a975bbaffaa43d57694 /clang/lib/Sema/SemaChecking.cpp
parent60d964d4f22bd0b052af1d75bdf9062e3f96ed16 (diff)
downloadbcm5719-llvm-5a11580205ecb4664e5d1891c8b5bfac504393f9.tar.gz
bcm5719-llvm-5a11580205ecb4664e5d1891c8b5bfac504393f9.zip
[Sema] Call CheckParmForFunctionDef on ObjC method parameters
CheckParmForFunctionDef performs standard checks for type completeness and other things like a destructor check for the MSVC++ ABI. llvm-svn: 184740
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r--clang/lib/Sema/SemaChecking.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index 163d5fe849b..996f20cc91b 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -5758,7 +5758,8 @@ void Sema::CheckBitFieldInitialization(SourceLocation InitLoc,
/// takes care of any checks that cannot be performed on the
/// declaration itself, e.g., that the types of each of the function
/// parameters are complete.
-bool Sema::CheckParmsForFunctionDef(ParmVarDecl **P, ParmVarDecl **PEnd,
+bool Sema::CheckParmsForFunctionDef(ParmVarDecl *const *P,
+ ParmVarDecl *const *PEnd,
bool CheckParameterNames) {
bool HasInvalidParm = false;
for (; P != PEnd; ++P) {
OpenPOWER on IntegriCloud