From 98e0863b7c52ea6f05d9aea2deb0be257eb1a189 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 28 Aug 2007 06:17:15 +0000 Subject: [PATCH] fix 80 col violation git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41533 91177308-0d34-0410-b5e6-96231b3b80d8 --- Sema/SemaDecl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sema/SemaDecl.cpp b/Sema/SemaDecl.cpp index 98ed30f4c6..20aedec163 100644 --- a/Sema/SemaDecl.cpp +++ b/Sema/SemaDecl.cpp @@ -286,7 +286,8 @@ Sema::ParseDeclarator(Scope *S, Declarator &D, ExprTy *init, // 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::err_declarator_need_ident, + Diag(D.getDeclSpec().getSourceRange().Begin(), + diag::err_declarator_need_ident, D.getDeclSpec().getSourceRange(), D.getSourceRange()); return 0; } -- 2.40.0