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:
David Nadlinger
2012-12-20 00:23:44 +01:00
parent 289bb57adf
commit 0cd78dd579
13 changed files with 34 additions and 37 deletions

View File

@@ -178,10 +178,12 @@ Statement *AsmStatement::semantic(Scope *sc)
return this;
if (!asmparser)
{
if (global.params.cpu == ARCHx86)
asmparser = new AsmParserx8632::AsmParser;
else if (global.params.cpu == ARCHx86_64)
asmparser = new AsmParserx8664::AsmParser;
}
asmparser->run(sc, this);