r199956 - Fix debug build.

Peter Collingbourne peter at pcc.me.uk
Thu Jan 23 15:15:58 PST 2014


Author: pcc
Date: Thu Jan 23 17:15:58 2014
New Revision: 199956

URL: http://llvm.org/viewvc/llvm-project?rev=199956&view=rev
Log:
Fix debug build.

Modified:
    cfe/trunk/lib/ASTMatchers/Dynamic/Marshallers.h

Modified: cfe/trunk/lib/ASTMatchers/Dynamic/Marshallers.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/ASTMatchers/Dynamic/Marshallers.h?rev=199956&r1=199955&r2=199956&view=diff
==============================================================================
--- cfe/trunk/lib/ASTMatchers/Dynamic/Marshallers.h (original)
+++ cfe/trunk/lib/ASTMatchers/Dynamic/Marshallers.h Thu Jan 23 17:15:58 2014
@@ -542,8 +542,8 @@ public:
   bool isVariadic() const {
     bool Overload0Variadic = Overloads[0]->isVariadic();
 #ifndef NDEBUG
-    for (std::vector<MatcherDesc *>::const_iterator I = Overloads.begin(),
-                                                    E = Overloads.end();
+    for (std::vector<MatcherDescriptor *>::const_iterator I = Overloads.begin(),
+                                                          E = Overloads.end();
          I != E; ++I) {
       assert(Overload0Variadic == (*I)->isVariadic());
     }
@@ -554,8 +554,8 @@ public:
   unsigned getNumArgs() const {
     unsigned Overload0NumArgs = Overloads[0]->getNumArgs();
 #ifndef NDEBUG
-    for (std::vector<MatcherDesc *>::const_iterator I = Overloads.begin(),
-                                                    E = Overloads.end();
+    for (std::vector<MatcherDescriptor *>::const_iterator I = Overloads.begin(),
+                                                          E = Overloads.end();
          I != E; ++I) {
       assert(Overload0NumArgs == (*I)->getNumArgs());
     }





More information about the cfe-commits mailing list