[cfe-commits] r101495 - /cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Benjamin Kramer
benny.kra at googlemail.com
Fri Apr 16 10:43:15 PDT 2010
Author: d0k
Date: Fri Apr 16 12:43:15 2010
New Revision: 101495
URL: http://llvm.org/viewvc/llvm-project?rev=101495&view=rev
Log:
Silence warning.
Modified:
cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?rev=101495&r1=101494&r2=101495&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Fri Apr 16 12:43:15 2010
@@ -2229,7 +2229,7 @@
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;
More information about the cfe-commits
mailing list