diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-07-06 21:13:09 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-07-06 21:13:09 +0000 |
commit | 4d48b5c1d58c381e6e0c719701ef433b530e0e1a (patch) | |
tree | 7d7cdbcd7c06ccf328732eae86d7bb99d6023e8e /lib/AST/CommentParser.cpp | |
parent | bd2e27e8484c1d378c9c9d089f61ff496627f391 (diff) |
Sprinkle llvm_unreachable around to placate GCC's -Wreturn-type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentParser.cpp')
-rw-r--r-- | lib/AST/CommentParser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AST/CommentParser.cpp b/lib/AST/CommentParser.cpp index 14a2d85ae4..2df3759bb9 100644 --- a/lib/AST/CommentParser.cpp +++ b/lib/AST/CommentParser.cpp @@ -390,6 +390,7 @@ BlockContentComment *Parser::parseBlockContent() { case tok::html_greater: llvm_unreachable("should not see this token"); } + llvm_unreachable("bogus token kind"); } FullComment *Parser::parseFullComment() { @@ -410,5 +411,3 @@ FullComment *Parser::parseFullComment() { } // end namespace comments } // end namespace clang - - |