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 | 4106ea3b4e7105e6b9646016916c2048061d00eb (patch) | |
tree | f8b1c79cc255a29cc957d2eb4a3a55e46080dc68 /clang/lib/AST/CommentParser.cpp | |
parent | dabd1331869eacc90c21a508bf2c595ec05e0f05 (diff) | |
download | bcm5719-llvm-4106ea3b4e7105e6b9646016916c2048061d00eb.tar.gz bcm5719-llvm-4106ea3b4e7105e6b9646016916c2048061d00eb.zip |
Sprinkle llvm_unreachable around to placate GCC's -Wreturn-type.
llvm-svn: 159860
Diffstat (limited to 'clang/lib/AST/CommentParser.cpp')
-rw-r--r-- | clang/lib/AST/CommentParser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/AST/CommentParser.cpp b/clang/lib/AST/CommentParser.cpp index 14a2d85ae4b..2df3759bb96 100644 --- a/clang/lib/AST/CommentParser.cpp +++ b/clang/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 - - |