[llvm] r211015 - Support/ConvertUTF: implement U+FFFD insertion according to the recommendation
Dmitri Gribenko
gribozavr at gmail.com
Mon Jun 16 09:17:30 PDT 2014
On Mon, Jun 16, 2014 at 4:35 PM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
> 2014-06-16 20:09 GMT+09:00 Dmitri Gribenko <gribozavr at gmail.com>:
>> +#define R0(RESULT) std::make_pair(RESULT, std::vector<unsigned>{})
>> +#define R(RESULT, ...) std::make_pair(RESULT, std::vector<unsigned>{ __VA_ARGS__ })
>
> Could you avoid initializer list here?
Oh, right -- MSVC does not support them. Will require some restructuring...
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the llvm-commits
mailing list