Remove NoVendor and NoOS, added in commit 123990, from Triple. While it

may be useful to understand "none", this is not the place for it.  Tweak
the fix to Normalize while there: the fix added in 123990 works correctly,
but I like this way better.  Finally, now that Triple understands some
non-trivial environment values, teach the unittests about them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124720 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands
2011-02-02 10:08:38 +00:00
parent 8eb3e54592
commit ae200c60c3
3 changed files with 52 additions and 70 deletions

View File

@@ -72,8 +72,7 @@ public:
UnknownVendor,
Apple,
PC,
NoVendor
PC
};
enum OSType {
UnknownOS,
@@ -93,8 +92,7 @@ public:
Solaris,
Win32,
Haiku,
Minix,
NoOS
Minix
};
enum EnvironmentType {
UnknownEnvironment,