diff options
author | David Blaikie <dblaikie@gmail.com> | 2011-09-23 20:26:49 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2011-09-23 20:26:49 +0000 |
commit | eb2d1f1c88836bd5382e5d7aa8f6b85148a88b27 (patch) | |
tree | 933295d0f71ec58a77f55d5e1046ec5efc861253 /lib/AST/DeclarationName.cpp | |
parent | c193dd84414c32b7c66f5b68176401665c0d2301 (diff) |
Removing a bunch of dead returns/breaks after llvm_unreachables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclarationName.cpp')
-rw-r--r-- | lib/AST/DeclarationName.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/AST/DeclarationName.cpp b/lib/AST/DeclarationName.cpp index 84d4ca94c3..8dfca3e1e7 100644 --- a/lib/AST/DeclarationName.cpp +++ b/lib/AST/DeclarationName.cpp @@ -194,7 +194,6 @@ DeclarationName::NameKind DeclarationName::getNameKind() const { // Can't actually get here. llvm_unreachable("This should be unreachable!"); - return Identifier; } bool DeclarationName::isDependentName() const { @@ -340,7 +339,6 @@ void *DeclarationName::getFETokenInfoAsVoid() const { default: llvm_unreachable("Declaration name has no FETokenInfo"); } - return 0; } void DeclarationName::setFETokenInfo(void *T) { @@ -622,5 +620,4 @@ SourceLocation DeclarationNameInfo::getEndLoc() const { return NameLoc; } llvm_unreachable("Unexpected declaration name kind"); - return SourceLocation(); } |