[cfe-dev] [PATCH]: wchar_t foo[] = L"bar"
Roman Divacky
rdivacky at freebsd.org
Fri Nov 21 09:11:33 PST 2008
hi
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 :)
roman
p.s. the whole issue is tracked at http://llvm.org/bugs/show_bug.cgi?id=3097
More information about the cfe-dev
mailing list