Silence warning.

llvm-svn: 101495
This commit is contained in:
Benjamin Kramer 2010-04-16 17:43:15 +00:00
parent b05275ac47
commit 659d7fc003
1 changed files with 1 additions and 1 deletions

View File

@ -2229,7 +2229,7 @@ void Sema::CheckCompletedCXXClass(Scope *S, CXXRecordDecl *Record) {
FEnd = Record->field_end();
F != FEnd; ++F) {
if (F->getType()->isReferenceType() ||
F->getType().isConstQualified() && F->getType()->isScalarType()) {
(F->getType().isConstQualified() && F->getType()->isScalarType())) {
if (!Complained) {
Diag(Record->getLocation(), diag::warn_no_constructor_for_refconst)
<< Record->getTagKind() << Record;