mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Changed DtoResolveNestedContext() return type to void – it didn't even have a return statement!
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user