[cfe-commits] r121266 - /cfe/trunk/include/clang/AST/RecursiveASTVisitor.h

Douglas Gregor dgregor at apple.com
Wed Dec 8 09:15:44 PST 2010


Author: dgregor
Date: Wed Dec  8 11:15:44 2010
New Revision: 121266

URL: http://llvm.org/viewvc/llvm-project?rev=121266&view=rev
Log:
Fix BinaryOperator dispatch for RecursiveASTVisitor, from Benoit Perrot!

Modified:
    cfe/trunk/include/clang/AST/RecursiveASTVisitor.h

Modified: cfe/trunk/include/clang/AST/RecursiveASTVisitor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/RecursiveASTVisitor.h?rev=121266&r1=121265&r2=121266&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/RecursiveASTVisitor.h (original)
+++ cfe/trunk/include/clang/AST/RecursiveASTVisitor.h Wed Dec  8 11:15:44 2010
@@ -393,7 +393,7 @@
   if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(S)) {
     switch (BinOp->getOpcode()) {
 #define OPERATOR(NAME) \
-    case BO_##NAME: DISPATCH(Bin##PtrMemD, BinaryOperator, S);
+    case BO_##NAME: DISPATCH(Bin##NAME, BinaryOperator, S);
 
     BINOP_LIST()
 #undef OPERATOR





More information about the cfe-commits mailing list