On Mon, Dec 9, 2013 at 3:34 PM, Reid Kleckner <[email protected]> wrote: > Author: rnk > Date: Mon Dec 9 17:34:56 2013 > New Revision: 196839 > > URL: http://llvm.org/viewvc/llvm-project?rev=196839&view=rev > Log: > Fix return of empty range in MSAsmStmt::children
Test case? > > Modified: > cfe/trunk/include/clang/AST/Stmt.h > > Modified: cfe/trunk/include/clang/AST/Stmt.h > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Stmt.h?rev=196839&r1=196838&r2=196839&view=diff > ============================================================================== > --- cfe/trunk/include/clang/AST/Stmt.h (original) > +++ cfe/trunk/include/clang/AST/Stmt.h Mon Dec 9 17:34:56 2013 > @@ -1767,7 +1767,7 @@ public: > } > > child_range children() { > - return child_range(&Exprs[0], &Exprs[0]); > + return child_range(&Exprs[0], &Exprs[NumInputs + NumOutputs]); > } > }; > > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
