From 8f5f93057c6778c1cff0bf53320e7cdca07797dc Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sun, 24 Apr 2011 11:39:53 +0200 Subject: [PATCH] =?UTF-8?q?Changed=20DtoResolveNestedContext()=20return=20?= =?UTF-8?q?type=20to=20void=20=E2=80=93=20it=20didn't=20even=20have=20a=20?= =?UTF-8?q?return=20statement!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gen/nested.cpp | 4 ++-- gen/nested.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gen/nested.cpp b/gen/nested.cpp index 035606f1..8044d825 100644 --- a/gen/nested.cpp +++ b/gen/nested.cpp @@ -247,9 +247,9 @@ void DtoNestedInit(VarDeclaration* vd) } #if DMDV2 -LLValue* DtoResolveNestedContext(Loc loc, AggregateDeclaration *decl, LLValue *value) +void DtoResolveNestedContext(Loc loc, AggregateDeclaration *decl, LLValue *value) #else -LLValue* DtoResolveNestedContext(Loc loc, ClassDeclaration *decl, LLValue *value) +void DtoResolveNestedContext(Loc loc, ClassDeclaration *decl, LLValue *value) #endif { Logger::println("Resolving nested context"); diff --git a/gen/nested.h b/gen/nested.h index ea3c6746..34fff976 100644 --- a/gen/nested.h +++ b/gen/nested.h @@ -18,9 +18,9 @@ void DtoNestedInit(VarDeclaration* vd); /// Resolves the nested context for classes and structs with arbitrary nesting. #if DMDV2 -LLValue* DtoResolveNestedContext(Loc loc, AggregateDeclaration *decl, LLValue *value); +void DtoResolveNestedContext(Loc loc, AggregateDeclaration *decl, LLValue *value); #else -LLValue* DtoResolveNestedContext(Loc loc, ClassDeclaration *decl, LLValue *value); +void DtoResolveNestedContext(Loc loc, ClassDeclaration *decl, LLValue *value); #endif /// Gets the context value for a call to a nested function or creating a nested