[cfe-commits] r74433 - /cfe/trunk/tools/index-test/index-test.cpp
Argiris Kirtzidis
akyrtzi at gmail.com
Mon Jun 29 10:38:11 PDT 2009
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();
More information about the cfe-commits
mailing list