]> granicus.if.org Git - clang/commitdiff
[Sema] Remove an unreachable llvm_unreachable
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 21 Oct 2015 19:48:47 +0000 (19:48 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 21 Oct 2015 19:48:47 +0000 (19:48 +0000)
No functionality change is intended.

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

lib/Sema/SemaDeclCXX.cpp

index 588ae3d88ebc95fd25687cbddee9500afb8b2c63..6c308ef9e6a0cd65a0739e5e98a3778b857ba949 100644 (file)
@@ -12709,7 +12709,6 @@ NamedDecl *Sema::ActOnFriendFunctionDecl(Scope *S, Declarator &D,
     case UnqualifiedId::IK_OperatorFunctionId:
     case UnqualifiedId::IK_TemplateId:
       break;
-      llvm_unreachable("Didn't expect this kind of unqualified-id!");
     }
     // This implies that it has to be an operator or function.
     if (DiagArg >= 0) {