[cfe-commits] r158478 - /cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Richard Trieu
rtrieu at google.com
Thu Jun 14 16:18:09 PDT 2012
Author: rtrieu
Date: Thu Jun 14 18:18:09 2012
New Revision: 158478
URL: http://llvm.org/viewvc/llvm-project?rev=158478&view=rev
Log:
Fix T* p to T *p
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=158478&r1=158477&r2=158478&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Thu Jun 14 18:18:09 2012
@@ -2062,10 +2062,10 @@
void HandleValue(Expr *E) {
E = E->IgnoreParens();
- if (MemberExpr* ME = dyn_cast<MemberExpr>(E)) {
+ if (MemberExpr *ME = dyn_cast<MemberExpr>(E)) {
if (isa<EnumConstantDecl>(ME->getMemberDecl()))
return;
- Expr* Base = E;
+ Expr *Base = E;
while (isa<MemberExpr>(Base)) {
ME = dyn_cast<MemberExpr>(Base);
if (VarDecl *VarD = dyn_cast<VarDecl>(ME->getMemberDecl()))
More information about the cfe-commits
mailing list