arichardson added a comment.

In D86930#2251144 <https://reviews.llvm.org/D86930#2251144>, @dougpuob wrote:

> I am a beginner to compiler, interesting in how to write Unit Test case for 
> change so I ran it, but found difference with my expection.
>
> You mentioned 
> Before: x = (STACK_OF(uint64_t)) & a;
> After: x = (STACK_OF(uint64_t))&a;
>
> Your input test data is identical with the expected data. Does this exactly 
> you need? Attach with a screenshot for your reference.
> F12833965: 2020-09-02_081105.png <https://reviews.llvm.org/F12833965>

It previously would have reformatted that input to add the spaces, so using the 
expected value as an input works fine. This is what almost all tests in this 
file do.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86930/new/

https://reviews.llvm.org/D86930

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to