mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-28 18:43:13 +01:00
Cleanup: Clang warning fixes.
No warnings left on a '-Wall' build except for a single tautological compare in gen/asm-x86-32.h, which indeed seems like a bug.
This commit is contained in:
@@ -271,9 +271,9 @@ int TypeBasic::builtinTypeInfo()
|
||||
int TypeDArray::builtinTypeInfo()
|
||||
{
|
||||
#if DMDV2
|
||||
return !mod && (next->isTypeBasic() != NULL && !next->mod ||
|
||||
return !mod && ((next->isTypeBasic() != NULL && !next->mod) ||
|
||||
// strings are so common, make them builtin
|
||||
next->ty == Tchar && next->mod == MODimmutable);
|
||||
(next->ty == Tchar && next->mod == MODimmutable));
|
||||
#else
|
||||
return next->isTypeBasic() != NULL;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user