Merge topic 'fix-style'
3c7c332
Fix brace indentation.c70b9b5
Fix style.
This commit is contained in:
commit
1dbf0aac1b
|
@ -82,7 +82,7 @@ public:
|
||||||
{
|
{
|
||||||
this->Find(key);
|
this->Find(key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
CacheEntry const& GetEntry() const { return this->Position->second; }
|
CacheEntry const& GetEntry() const { return this->Position->second; }
|
||||||
CacheEntry& GetEntry() { return this->Position->second; }
|
CacheEntry& GetEntry() { return this->Position->second; }
|
||||||
|
|
|
@ -2011,13 +2011,13 @@ void cmLocalGenerator::AddCMP0018Flags(std::string &flags, cmTarget* target,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (target->GetType() == cmTarget::OBJECT_LIBRARY)
|
if (target->GetType() == cmTarget::OBJECT_LIBRARY)
|
||||||
{
|
{
|
||||||
if (target->GetPropertyAsBool("POSITION_INDEPENDENT_CODE"))
|
if (target->GetPropertyAsBool("POSITION_INDEPENDENT_CODE"))
|
||||||
{
|
{
|
||||||
this->AddPositionIndependentFlags(flags, lang, targetType);
|
this->AddPositionIndependentFlags(flags, lang, targetType);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (target->GetLinkInterfaceDependentBoolProperty(
|
if (target->GetLinkInterfaceDependentBoolProperty(
|
||||||
"POSITION_INDEPENDENT_CODE",
|
"POSITION_INDEPENDENT_CODE",
|
||||||
|
|
|
@ -180,7 +180,7 @@ void deleteAndClear(
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
cmTargetInternals::~cmTargetInternals()
|
cmTargetInternals::~cmTargetInternals()
|
||||||
{
|
{
|
||||||
deleteAndClear(CachedLinkInterfaceIncludeDirectoriesEntries);
|
deleteAndClear(this->CachedLinkInterfaceIncludeDirectoriesEntries);
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue