[cfe-dev] [PATCH]: wchar_t foo = L"bar"
rdivacky at freebsd.org
Fri Nov 21 11:11:33 CST 2008
the $subj is currently rejected by clang because it does not know
this is allowed by the C standard.. I've come with a simple patch
that lets this happen. It introduces a new isWideCharType() method
to ASTContext class (as suggested by Daniel Dunbar) and uses it
to check if this contstruction is allowed...
the patch: www.vlakno.cz/~rdivacky/wchar.patch
please review/comment and possibly commit :)
p.s. the whole issue is tracked at http://llvm.org/bugs/show_bug.cgi?id=3097
More information about the cfe-dev