Testcase?

On Thu, Mar 29, 2012 at 10:59 AM, David Chisnall <[email protected]> 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
> [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

Reply via email to