]> granicus.if.org Git - clang/commitdiff
Expect the impossible
authorDouglas Gregor <dgregor@apple.com>
Mon, 25 Jan 2010 16:45:46 +0000 (16:45 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 25 Jan 2010 16:45:46 +0000 (16:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94425 91177308-0d34-0410-b5e6-96231b3b80d8

tools/CIndex/CIndex.cpp

index c9c6c25d58c62d6de4b225f34160c1bc522f06dc..eb40b7fe9948628092750cf0bfa50507fc397be6 100644 (file)
@@ -362,7 +362,7 @@ bool CursorVisitor::Visit(CXCursor Cursor, bool CheckedRegionOfInterest) {
     return VisitChildren(Cursor);
   }
 
-  llvm_unreachable("Silly GCC, we can't get here");
+  return false;
 }
 
 /// \brief Visit the children of the given cursor.