From 23cd0d994f39300c9eed013afaec99b8cde2a65c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 13 Nov 2008 18:49:38 +0000 Subject: [PATCH] don't highlight field name, just put a caret on it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59255 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaDecl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 8c3a5c12c6..6dd9fa7c4b 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -2533,10 +2533,10 @@ Sema::DeclTy *Sema::ActOnField(Scope *S, if (T->isVariablyModifiedType()) { QualType FixedTy = TryToFixInvalidVariablyModifiedType(T, Context); if (!FixedTy.isNull()) { - Diag(Loc, diag::warn_illegal_constant_array_size, Loc); + Diag(Loc, diag::warn_illegal_constant_array_size); T = FixedTy; } else { - Diag(Loc, diag::err_typecheck_field_variable_size, Loc); + Diag(Loc, diag::err_typecheck_field_variable_size); T = Context.IntTy; InvalidDecl = true; } -- 2.40.0