aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-13 18:49:38 +0000
committerChris Lattner <sabre@nondot.org>2008-11-13 18:49:38 +0000
commit23cd0d994f39300c9eed013afaec99b8cde2a65c (patch)
tree8aed67ade8cc0af3177ecea5e8974500c938f6a6 /lib/Sema/SemaDecl.cpp
parentd5ff2fbf3dc316c6812675a3ff7b326e18d9a93c (diff)
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
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r--lib/Sema/SemaDecl.cpp4
1 files 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;
}