]> granicus.if.org Git - clang/commitdiff
Remove this assert, I don't think it's being helpful and people have
authorEric Christopher <echristo@apple.com>
Wed, 27 Apr 2011 05:48:06 +0000 (05:48 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 27 Apr 2011 05:48:06 +0000 (05:48 +0000)
been running into it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130296 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index d06ff48be4b9b4cfcaa78222bb5e0efa06ba5598..97109caf123757fb26d488f2fa9dd32a5f11f8c0 100644 (file)
@@ -121,7 +121,6 @@ static void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts,
       if (Triple.getEnvironmentName() == "iphoneos") {
         PlatformName = "ios";
       } else {
-        assert(Rev == 0 && "invalid triple, unexpected micro version!");
         PlatformName = "macosx";
         Rev = Min;
         Min = Maj - 4;