Shadowing fixes.

#codereview Steve.Robb, Marc.Audy, Jaroslaw.Palczynski

[CL 2521402 by Dmitry Rekman in Main branch]
This commit is contained in:
Dmitry Rekman
2015-04-22 14:31:04 -04:00
committed by Dmitry.Rekman@epicgames.com
parent 8a2d642116
commit ceeeac094f
2 changed files with 14 additions and 14 deletions

View File

@@ -6,8 +6,8 @@
extern FCompilerMetadataManager GScriptHelper;
FScope::FScope(FScope* Parent)
: Parent(Parent)
FScope::FScope(FScope* InParent)
: Parent(InParent)
{
check(Parent);
}
@@ -143,8 +143,8 @@ bool FScope::ContainsTypes() const
TMap<UStruct*, TSharedRef<FScope> > FScope::ScopeMap;
FFileScope::FFileScope(FName Name, FUnrealSourceFile* SourceFile)
: SourceFile(SourceFile), Name(Name)
FFileScope::FFileScope(FName Name, FUnrealSourceFile* InSourceFile)
: SourceFile(InSourceFile), Name(Name)
{
}
@@ -174,8 +174,8 @@ FName FStructScope::GetName() const
return Struct->GetFName();
}
FStructScope::FStructScope(UStruct* Struct, FScope* Parent)
: FScope(Parent), Struct(Struct)
FStructScope::FStructScope(UStruct* InStruct, FScope* InParent)
: FScope(InParent), Struct(InStruct)
{
}

View File

@@ -75,24 +75,24 @@ FString FUnrealSourceFile::GetGeneratedBodyMacroName(int32 LineNumber, bool bLeg
return GetGeneratedMacroName(LineNumber, *FString::Printf(TEXT("%s%s"), TEXT("_GENERATED_BODY"), bLegacy ? TEXT("_LEGACY") : TEXT("")));
}
void FUnrealSourceFile::SetGeneratedFilename(FString GeneratedFilename)
void FUnrealSourceFile::SetGeneratedFilename(FString InGeneratedFilename)
{
this->GeneratedFilename = MoveTemp(GeneratedFilename);
GeneratedFilename = MoveTemp(InGeneratedFilename);
}
void FUnrealSourceFile::SetHasChanged(bool bHasChanged)
void FUnrealSourceFile::SetHasChanged(bool bInHasChanged)
{
this->bHasChanged = bHasChanged;
bHasChanged = bInHasChanged;
}
void FUnrealSourceFile::SetModuleRelativePath(FString ModuleRelativePath)
void FUnrealSourceFile::SetModuleRelativePath(FString InModuleRelativePath)
{
this->ModuleRelativePath = MoveTemp(ModuleRelativePath);
ModuleRelativePath = MoveTemp(InModuleRelativePath);
}
void FUnrealSourceFile::SetIncludePath(FString IncludePath)
void FUnrealSourceFile::SetIncludePath(FString InIncludePath)
{
this->IncludePath = MoveTemp(IncludePath);
IncludePath = MoveTemp(InIncludePath);
}
const FString& FUnrealSourceFile::GetContent() const