Changed DtoResolveNestedContext() return type to void – it didn't even have a return statement!

This commit is contained in:
David Nadlinger
2011-04-24 11:39:53 +02:00
parent ca76012343
commit 8f5f93057c
2 changed files with 4 additions and 4 deletions

View File

@@ -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");

View File

@@ -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