Updating the patch because  I found a degradation in the previous patch that failed warning check for multi char wchar literal.<br>Here is the test results of cfe/trunk revision 132053 and the patch.<br><br>unaju[512] llvm/utils/lit/lit.py -sv llvm/tools/clang/test<br>
lit.py: lit.cfg:108: note: using out-of-tree build at '/llvm/l2/bld/tools/clang'<br>lit.py: lit.cfg:143: note: using clang: '/llvm/l2/bld/Debug+Asserts/bin/clang'<br>lit.py: main.py:298: warning: test suite 'Clang-Unit' contained no tests<br>
Testing Time: 180.05s<br>  Expected Passes    : 3096<br>  Expected Failures  : 22<br><br><br><div class="gmail_quote">2011/5/25 Yusaku Shiga <span dir="ltr"><<a href="mailto:yusaku.shiga@gmail.com">yusaku.shiga@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote"><div class="im">2011/5/25 Yusaku Shiga <span dir="ltr"><<a href="mailto:yusaku.shiga@gmail.com" target="_blank">yusaku.shiga@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I updated the patch.<br><br>The patch implements code conversion from UTF-8 to UTF16/UTF32 in character literal.<br>The rest issue is to fixed array alignment issue reported. I'm investing it.<br><br></blockquote></div>
<div>
<br>I observed clang silently extends the alignment to 16byte if the array objects occupies 16bytes or more (on x86_64 target).<br>I'll remove the alignment checks from my test cases.<br></div></div></blockquote><div>
  <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
</blockquote></div>-----<br>Yusaku Shiga<br><br>