[cfe-commits] r148921 - /cfe/trunk/lib/Sema/SemaExprCXX.cpp
Eli Friedman
eli.friedman at gmail.com
Tue Jan 24 20:35:07 PST 2012
Author: efriedma
Date: Tue Jan 24 22:35:06 2012
New Revision: 148921
URL: http://llvm.org/viewvc/llvm-project?rev=148921&view=rev
Log:
Fix r148920 to what I actually meant to commit.
Modified:
cfe/trunk/lib/Sema/SemaExprCXX.cpp
Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExprCXX.cpp?rev=148921&r1=148920&r2=148921&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExprCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExprCXX.cpp Tue Jan 24 22:35:06 2012
@@ -4404,6 +4404,7 @@
bool HasTrailingLParen) {
TypeSourceInfo *DestructedTypeInfo = Destructed.getTypeSourceInfo();
+ QualType ObjectType;
if (CheckArrow(*this, ObjectType, Base, OpKind, OpLoc))
return ExprError();
@@ -4508,6 +4509,7 @@
SecondTypeName.getKind() == UnqualifiedId::IK_Identifier) &&
"Invalid second type name in pseudo-destructor");
+ QualType ObjectType;
if (CheckArrow(*this, ObjectType, Base, OpKind, OpLoc))
return ExprError();
@@ -4635,7 +4637,7 @@
SourceLocation TildeLoc,
const DeclSpec& DS,
bool HasTrailingLParen) {
-
+ QualType ObjectType;
if (CheckArrow(*this, ObjectType, Base, OpKind, OpLoc))
return ExprError();
More information about the cfe-commits
mailing list