mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118978 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4f8b791d0f
commit
ce8ca9ab0c
@ -45,7 +45,7 @@ class Triple {
|
|||||||
public:
|
public:
|
||||||
enum ArchType {
|
enum ArchType {
|
||||||
UnknownArch,
|
UnknownArch,
|
||||||
|
|
||||||
alpha, // Alpha: alpha
|
alpha, // Alpha: alpha
|
||||||
arm, // ARM; arm, armv.*, xscale
|
arm, // ARM; arm, armv.*, xscale
|
||||||
bfin, // Blackfin: bfin
|
bfin, // Blackfin: bfin
|
||||||
@ -72,7 +72,7 @@ public:
|
|||||||
enum VendorType {
|
enum VendorType {
|
||||||
UnknownVendor,
|
UnknownVendor,
|
||||||
|
|
||||||
Apple,
|
Apple,
|
||||||
PC
|
PC
|
||||||
};
|
};
|
||||||
enum OSType {
|
enum OSType {
|
||||||
@ -98,7 +98,7 @@ public:
|
|||||||
enum EnvironmentType {
|
enum EnvironmentType {
|
||||||
UnknownEnvironment
|
UnknownEnvironment
|
||||||
};
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string Data;
|
std::string Data;
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
/// @name Constructors
|
/// @name Constructors
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
Triple() : Data(), Arch(InvalidArch) {}
|
Triple() : Data(), Arch(InvalidArch) {}
|
||||||
explicit Triple(StringRef Str) : Data(Str), Arch(InvalidArch) {}
|
explicit Triple(StringRef Str) : Data(Str), Arch(InvalidArch) {}
|
||||||
explicit Triple(StringRef ArchStr, StringRef VendorStr, StringRef OSStr)
|
explicit Triple(StringRef ArchStr, StringRef VendorStr, StringRef OSStr)
|
||||||
@ -159,22 +159,22 @@ public:
|
|||||||
/// @}
|
/// @}
|
||||||
/// @name Typed Component Access
|
/// @name Typed Component Access
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
/// getArch - Get the parsed architecture type of this triple.
|
/// getArch - Get the parsed architecture type of this triple.
|
||||||
ArchType getArch() const {
|
ArchType getArch() const {
|
||||||
if (!isInitialized()) Parse();
|
if (!isInitialized()) Parse();
|
||||||
return Arch;
|
return Arch;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// getVendor - Get the parsed vendor type of this triple.
|
/// getVendor - Get the parsed vendor type of this triple.
|
||||||
VendorType getVendor() const {
|
VendorType getVendor() const {
|
||||||
if (!isInitialized()) Parse();
|
if (!isInitialized()) Parse();
|
||||||
return Vendor;
|
return Vendor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// getOS - Get the parsed operating system type of this triple.
|
/// getOS - Get the parsed operating system type of this triple.
|
||||||
OSType getOS() const {
|
OSType getOS() const {
|
||||||
if (!isInitialized()) Parse();
|
if (!isInitialized()) Parse();
|
||||||
return OS;
|
return OS;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -185,8 +185,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// getEnvironment - Get the parsed environment type of this triple.
|
/// getEnvironment - Get the parsed environment type of this triple.
|
||||||
EnvironmentType getEnvironment() const {
|
EnvironmentType getEnvironment() const {
|
||||||
if (!isInitialized()) Parse();
|
if (!isInitialized()) Parse();
|
||||||
return Environment;
|
return Environment;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -218,13 +218,13 @@ public:
|
|||||||
/// if the environment component is present).
|
/// if the environment component is present).
|
||||||
StringRef getOSAndEnvironmentName() const;
|
StringRef getOSAndEnvironmentName() const;
|
||||||
|
|
||||||
|
|
||||||
/// getDarwinNumber - Parse the 'darwin number' out of the specific target
|
/// getDarwinNumber - Parse the 'darwin number' out of the specific target
|
||||||
/// triple. For example, if we have darwin8.5 return 8,5,0. If any entry is
|
/// triple. For example, if we have darwin8.5 return 8,5,0. If any entry is
|
||||||
/// not defined, return 0's. This requires that the triple have an OSType of
|
/// not defined, return 0's. This requires that the triple have an OSType of
|
||||||
/// darwin before it is called.
|
/// darwin before it is called.
|
||||||
void getDarwinNumber(unsigned &Maj, unsigned &Min, unsigned &Revision) const;
|
void getDarwinNumber(unsigned &Maj, unsigned &Min, unsigned &Revision) const;
|
||||||
|
|
||||||
/// getDarwinMajorNumber - Return just the major version number, this is
|
/// getDarwinMajorNumber - Return just the major version number, this is
|
||||||
/// specialized because it is a common query.
|
/// specialized because it is a common query.
|
||||||
unsigned getDarwinMajorNumber() const {
|
unsigned getDarwinMajorNumber() const {
|
||||||
@ -232,7 +232,7 @@ public:
|
|||||||
getDarwinNumber(Maj, Min, Rev);
|
getDarwinNumber(Maj, Min, Rev);
|
||||||
return Maj;
|
return Maj;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
/// @name Mutators
|
/// @name Mutators
|
||||||
/// @{
|
/// @{
|
||||||
|
Loading…
Reference in New Issue
Block a user