[cfe-commits] r158733 - /cfe/trunk/lib/Sema/SemaOverload.cpp
Kaelyn Uhrain
rikka at google.com
Tue Jun 19 11:38:00 PDT 2012
Author: rikka
Date: Tue Jun 19 13:38:00 2012
New Revision: 158733
URL: http://llvm.org/viewvc/llvm-project?rev=158733&view=rev
Log:
Remove some debugging code that snuck into r158691.
Modified:
cfe/trunk/lib/Sema/SemaOverload.cpp
Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=158733&r1=158732&r2=158733&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOverload.cpp Tue Jun 19 13:38:00 2012
@@ -8161,11 +8161,6 @@
} else if (ToTy->isLValueReferenceType() && !FromExpr->isLValue() &&
ToTy.getNonReferenceType().getCanonicalType() ==
FromTy.getNonReferenceType().getCanonicalType()) {
- QualType T1 = ToTy.getCanonicalType();
- QualType T2 = ToTy.getNonReferenceType();
- QualType T3 = T2.getUnqualifiedType();
- QualType T4 = FromTy.getCanonicalType();
- (void)T1; (void)T2; (void)T3; (void)T4;
S.Diag(Fn->getLocation(), diag::note_ovl_candidate_bad_lvalue)
<< (unsigned) FnKind << FnDesc
<< (FromExpr ? FromExpr->getSourceRange() : SourceRange())
More information about the cfe-commits
mailing list