forked from qt-creator/qt-creator
Abi: Remove endianness from ABI
The functionality is not implemented properly, remove it before someone thinks it was. Change-Id: I6e9c423a6b84a4a5fcf4d817e14df97fbdc901c5 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Tim Sander <tim@krieglstein.org> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -817,14 +817,6 @@ QList<Abi> Abi::abisOfBinary(const Utils::FileName &path)
|
||||
return result;
|
||||
}
|
||||
|
||||
ProjectExplorer::Abi::Endianness Abi::endianness() const
|
||||
{
|
||||
if (m_architecture == X86Architecture)
|
||||
return LittleEndian;
|
||||
// All other architectures are bi-endian:/
|
||||
return UnknownEndian; // Todo: Add a field for endianness to the Abi struct!
|
||||
}
|
||||
|
||||
} // namespace ProjectExplorer
|
||||
|
||||
// Unit tests:
|
||||
|
||||
@@ -101,12 +101,6 @@ public:
|
||||
UnknownFormat
|
||||
};
|
||||
|
||||
enum Endianness {
|
||||
LittleEndian,
|
||||
BigEndian,
|
||||
UnknownEndian
|
||||
};
|
||||
|
||||
Abi() :
|
||||
m_architecture(UnknownArchitecture), m_os(UnknownOS),
|
||||
m_osFlavor(UnknownFlavor), m_binaryFormat(UnknownFormat), m_wordWidth(0)
|
||||
@@ -126,7 +120,6 @@ public:
|
||||
bool isNull() const;
|
||||
|
||||
Architecture architecture() const { return m_architecture; }
|
||||
Endianness endianness() const;
|
||||
OS os() const { return m_os; }
|
||||
OSFlavor osFlavor() const { return m_osFlavor; }
|
||||
BinaryFormat binaryFormat() const { return m_binaryFormat; }
|
||||
|
||||
@@ -91,11 +91,6 @@ QVariantMap DefaultPropertyProvider::properties(const ProjectExplorer::Kit *k, c
|
||||
qbs::Internal::HostOsInfo::canonicalArchitecture(architecture));
|
||||
}
|
||||
|
||||
if (targetAbi.endianness() == ProjectExplorer::Abi::BigEndian)
|
||||
data.insert(QLatin1String(QBS_ENDIANNESS), QLatin1String("big"));
|
||||
else if (targetAbi.endianness() == ProjectExplorer::Abi::LittleEndian)
|
||||
data.insert(QLatin1String(QBS_ENDIANNESS), QLatin1String("little"));
|
||||
|
||||
if (targetAbi.os() == ProjectExplorer::Abi::WindowsOS) {
|
||||
data.insert(QLatin1String(QBS_TARGETOS), QLatin1String("windows"));
|
||||
data.insert(QLatin1String(QBS_TOOLCHAIN),
|
||||
|
||||
Reference in New Issue
Block a user