From 049f784e5f24e0d731495658cf41f1d2baaad9ca Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Mon, 10 Jun 2013 18:48:10 +0200 Subject: [PATCH] Remove extra semicolons after macro invocation. Silences some Clang warnings. --- gen/toir.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/gen/toir.cpp b/gen/toir.cpp index b1caf08c..360c9d10 100644 --- a/gen/toir.cpp +++ b/gen/toir.cpp @@ -2287,11 +2287,11 @@ DValue* X##Exp::toElem(IRState* p) \ return new DImValue(type, x); \ } -BinBitExp(And,And); -BinBitExp(Or,Or); -BinBitExp(Xor,Xor); -BinBitExp(Shl,Shl); -BinBitExp(Ushr,LShr); +BinBitExp(And,And) +BinBitExp(Or,Or) +BinBitExp(Xor,Xor) +BinBitExp(Shl,Shl) +BinBitExp(Ushr,LShr) DValue* ShrExp::toElem(IRState* p) { @@ -3247,11 +3247,11 @@ DValue* VectorExp::toElem(IRState* p) ////////////////////////////////////////////////////////////////////////////////////////// #define STUB(x) DValue *x::toElem(IRState * p) {error("Exp type "#x" not implemented: %s", toChars()); fatal(); return 0; } -STUB(Expression); -STUB(ScopeExp); -STUB(SymbolExp); -STUB(PowExp); -STUB(PowAssignExp); +STUB(Expression) +STUB(ScopeExp) +STUB(SymbolExp) +STUB(PowExp) +STUB(PowAssignExp) #define CONSTSTUB(x) LLConstant* x::toConstElem(IRState * p) { \ error("expression '%s' is not a constant", toChars()); \ @@ -3259,11 +3259,11 @@ STUB(PowAssignExp); fatal(); \ return NULL; \ } -CONSTSTUB(Expression); -CONSTSTUB(GEPExp); -CONSTSTUB(SliceExp); -CONSTSTUB(IndexExp); -CONSTSTUB(AssocArrayLiteralExp); +CONSTSTUB(Expression) +CONSTSTUB(GEPExp) +CONSTSTUB(SliceExp) +CONSTSTUB(IndexExp) +CONSTSTUB(AssocArrayLiteralExp) //////////////////////////////////////////////////////////////////////////////////////////