]> granicus.if.org Git - clang/commitdiff
Fix build. Bad me, adding last-minute assertions.
authorJohn McCall <rjmccall@apple.com>
Sat, 28 Aug 2010 08:10:32 +0000 (08:10 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 28 Aug 2010 08:10:32 +0000 (08:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112359 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaAccess.cpp

index ce004f8686128368893df6be98a302b8da9eca07..a7c0561bbd44a0eb5e02c22b977f622025a67d5e 100644 (file)
@@ -766,7 +766,7 @@ static AccessResult HasAccess(Sema &S,
     case AR_inaccessible: return OnFailure;
     case AR_dependent: return AR_dependent;
     }
-    llvm::unreachable("impossible friendship kind");
+    llvm_unreachable("impossible friendship kind");
   }
 
   switch (GetFriendKind(S, EC, NamingClass)) {