diff options
Diffstat (limited to 'clang/Sema/SemaDecl.cpp')
| -rw-r--r-- | clang/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Sema/SemaDecl.cpp b/clang/Sema/SemaDecl.cpp index 76d1628bfc2..9b2800f047f 100644 --- a/clang/Sema/SemaDecl.cpp +++ b/clang/Sema/SemaDecl.cpp @@ -490,7 +490,7 @@ Sema::ActOnDeclarator(Scope *S, Declarator &D, DeclTy *lastDecl) { // All of these full declarators require an identifier. If it doesn't have // one, the ParsedFreeStandingDeclSpec action should be used. if (II == 0) { - Diag(D.getDeclSpec().getSourceRange().Begin(), + Diag(D.getDeclSpec().getSourceRange().getBegin(), diag::err_declarator_need_ident, D.getDeclSpec().getSourceRange(), D.getSourceRange()); return 0; |

