Author: akirtzidis
Date: Mon Jun 29 12:38:09 2009
New Revision: 74433

URL: http://llvm.org/viewvc/llvm-project?rev=74433&view=rev
Log:
Remove redundant leftover code.

Modified:
    cfe/trunk/tools/index-test/index-test.cpp

Modified: cfe/trunk/tools/index-test/index-test.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/index-test/index-test.cpp?rev=74433&r1=74432&r2=74433&view=diff

==============================================================================
--- cfe/trunk/tools/index-test/index-test.cpp (original)
+++ cfe/trunk/tools/index-test/index-test.cpp Mon Jun 29 12:38:09 2009
@@ -125,7 +125,6 @@
   
   if (Point.D) {
     llvm::raw_ostream &OS = llvm::outs();
-    assert(Point.D && "If no node was found we should have exited with error");
     OS << "Declaration node at point: " << Point.D->getDeclKindName() << " ";
     if (NamedDecl *ND = dyn_cast<NamedDecl>(Point.D))
       OS << ND->getNameAsString();


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to