[cfe-commits] r153665 - /cfe/trunk/lib/Sema/SemaChecking.cpp
Richard Smith
richard at metafoo.co.uk
Thu Mar 29 11:09:54 PDT 2012
Testcase?
On Thu, Mar 29, 2012 at 10:59 AM, David Chisnall <csdavec at swan.ac.uk> wrote:
> Author: theraven
> Date: Thu Mar 29 12:58:59 2012
> New Revision: 153665
>
> URL: http://llvm.org/viewvc/llvm-project?rev=153665&view=rev
> Log:
> Pass parameters in the correct order when assembling an AtomicExpr.
>
>
> 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=153665&r1=153664&r2=153665&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/Sema/SemaChecking.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaChecking.cpp Thu Mar 29 12:58:59 2012
> @@ -637,8 +637,8 @@
> } else {
> SubExprs.push_back(TheCall->getArg(3)); // Order
> SubExprs.push_back(TheCall->getArg(1)); // Val1
> - SubExprs.push_back(TheCall->getArg(2)); // Val2
> SubExprs.push_back(TheCall->getArg(4)); // OrderFail
> + SubExprs.push_back(TheCall->getArg(2)); // Val2
> }
>
> return Owned(new (Context)
> AtomicExpr(TheCall->getCallee()->getLocStart(),
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120329/5a25849d/attachment.html>
More information about the cfe-commits
mailing list