[cfe-commits] r172682 - /cfe/trunk/include/clang/AST/DeclObjC.h

Matt Beaumont-Gay matthewbg at google.com
Wed Jan 16 16:21:55 PST 2013


Author: matthewbg
Date: Wed Jan 16 18:21:55 2013
New Revision: 172682

URL: http://llvm.org/viewvc/llvm-project?rev=172682&view=rev
Log:
Fix a typo introduced in r172665.

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

Modified: cfe/trunk/include/clang/AST/DeclObjC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclObjC.h?rev=172682&r1=172681&r2=172682&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclObjC.h (original)
+++ cfe/trunk/include/clang/AST/DeclObjC.h Wed Jan 16 18:21:55 2013
@@ -932,7 +932,7 @@
 
     friend bool operator==(filtered_category_iterator X,
                            filtered_category_iterator Y) {
-      return X.Current = Y.Current;
+      return X.Current == Y.Current;
     }
 
     friend bool operator!=(filtered_category_iterator X,





More information about the cfe-commits mailing list