diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-21 06:40:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-21 06:40:50 +0000 |
commit | ac8d75fe94f2aefde5179d53e230b99a1fe1201a (patch) | |
tree | 59bfe9a1eb29ab04d758874af08a51aa76d95ce0 /lib/AST/DeclarationName.cpp | |
parent | c50689bd1e8788a7fc8f19070b7505ff95034979 (diff) |
add an assertion for unreachable code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclarationName.cpp')
-rw-r--r-- | lib/AST/DeclarationName.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/DeclarationName.cpp b/lib/AST/DeclarationName.cpp index 3815a08a65..e2ed892595 100644 --- a/lib/AST/DeclarationName.cpp +++ b/lib/AST/DeclarationName.cpp @@ -113,6 +113,7 @@ DeclarationName::NameKind DeclarationName::getNameKind() const { } // Can't actually get here. + assert(0 && "This should be unreachable!"); return Identifier; } |