[cfe-commits] r172693 - /cfe/trunk/lib/Sema/SemaChecking.cpp

Richard Smith richard-llvm at metafoo.co.uk
Wed Jan 16 17:40:50 PST 2013


Author: rsmith
Date: Wed Jan 16 19:40:50 2013
New Revision: 172693

URL: http://llvm.org/viewvc/llvm-project?rev=172693&view=rev
Log:
Attempt to work around bug in older GCCs to fix buildbot.

Modified:
    cfe/trunk/lib/Sema/SemaChecking.cpp

Modified: cfe/trunk/lib/Sema/SemaChecking.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaChecking.cpp?rev=172693&r1=172692&r2=172693&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaChecking.cpp (original)
+++ cfe/trunk/lib/Sema/SemaChecking.cpp Wed Jan 16 19:40:50 2013
@@ -5386,8 +5386,8 @@
 
 public:
   SequenceChecker(Sema &S, Expr *E)
-    : EvaluatedExprVisitor(S.Context), SemaRef(S), Region(Tree.root()), 
-      ModAsSideEffect(0) {
+    : EvaluatedExprVisitor<SequenceChecker>(S.Context), SemaRef(S),
+      Region(Tree.root()), ModAsSideEffect(0) {
     Visit(E);
   }
 
@@ -5397,7 +5397,7 @@
 
   void VisitExpr(Expr *E) {
     // By default, just recurse to evaluated subexpressions.
-    EvaluatedExprVisitor::VisitStmt(E);
+    EvaluatedExprVisitor<SequenceChecker>::VisitStmt(E);
   }
 
   void VisitCastExpr(CastExpr *E) {





More information about the cfe-commits mailing list