[cfe-commits] r41996 - /cfe/trunk/AST/CFG.cpp
Chris Lattner
clattner at apple.com
Sun Sep 16 12:06:57 PDT 2007
On Sep 15, 2007, at 5:31 PM, Hartmut Kaiser wrote:
> Author: hkaiser
> Date: Sat Sep 15 19:31:07 2007
> New Revision: 41996
>
> URL: http://llvm.org/viewvc/llvm-project?rev=41996&view=rev
> Log:
> Fixed a problem VC++ revealed in release mode. Please verify.
Nice catch,
-Chris
> Modified:
> cfe/trunk/AST/CFG.cpp
>
> Modified: cfe/trunk/AST/CFG.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/CFG.cpp?
> rev=41996&r1=41995&r2=41996&view=diff
>
> ======================================================================
> ========
> --- cfe/trunk/AST/CFG.cpp (original)
> +++ cfe/trunk/AST/CFG.cpp Sat Sep 15 19:31:07 2007
> @@ -1132,7 +1132,7 @@
> C->getRHS()->printPretty(OS);
> }
> }
> - else if (DefaultStmt* D = dyn_cast<DefaultStmt>(D))
> + else if (DefaultStmt* D = dyn_cast<DefaultStmt>(S))
> OS << "default";
> else
> assert(false && "Invalid label statement in CFGBlock.");
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list