diff options
Diffstat (limited to 'lib/Sema/SemaType.cpp')
-rw-r--r-- | lib/Sema/SemaType.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 4889a56513..e10a912ccf 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -795,7 +795,7 @@ QualType Sema::GetTypeForDeclarator(Declarator &D, Scope *S, unsigned Skip) { ArgTys.push_back(ArgTy); } - T = Context.getFunctionType(T, &ArgTys[0], ArgTys.size(), + T = Context.getFunctionType(T, ArgTys.data(), ArgTys.size(), FTI.isVariadic, FTI.TypeQuals); } break; |