[cfe-commits] r94425 - /cfe/trunk/tools/CIndex/CIndex.cpp

Douglas Gregor dgregor at apple.com
Mon Jan 25 08:45:46 PST 2010


Author: dgregor
Date: Mon Jan 25 10:45:46 2010
New Revision: 94425

URL: http://llvm.org/viewvc/llvm-project?rev=94425&view=rev
Log:
Expect the impossible

Modified:
    cfe/trunk/tools/CIndex/CIndex.cpp

Modified: cfe/trunk/tools/CIndex/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CIndex/CIndex.cpp?rev=94425&r1=94424&r2=94425&view=diff

==============================================================================
--- cfe/trunk/tools/CIndex/CIndex.cpp (original)
+++ cfe/trunk/tools/CIndex/CIndex.cpp Mon Jan 25 10:45:46 2010
@@ -362,7 +362,7 @@
     return VisitChildren(Cursor);
   }
 
-  llvm_unreachable("Silly GCC, we can't get here");
+  return false;
 }
 
 /// \brief Visit the children of the given cursor.





More information about the cfe-commits mailing list