diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-11-13 18:49:38 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-11-13 18:49:38 +0000 |
| commit | f3e388d1bf3f6305b6e8282f8c84dd87b051d24c (patch) | |
| tree | cec9d4022f91eb1993b0f9b049765074f65ea9c3 | |
| parent | 7464fc784e72ab83561c33649229be2897a12101 (diff) | |
| download | bcm5719-llvm-f3e388d1bf3f6305b6e8282f8c84dd87b051d24c.tar.gz bcm5719-llvm-f3e388d1bf3f6305b6e8282f8c84dd87b051d24c.zip | |
don't highlight field name, just put a caret on it.
llvm-svn: 59255
| -rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 8c3a5c12c69..6dd9fa7c4bc 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/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; } |

