aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-29 17:38:09 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-29 17:38:09 +0000
commit512230c49b6099bc6af3beecca2a32ceaea5f2b0 (patch)
treed65201525c57f0ce759c33b2864ad35ade3a6253
parent001d64dd2947c1ce06e3eac257a9a21c65ae4ff3 (diff)
Remove redundant leftover code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74433 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/index-test/index-test.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/index-test/index-test.cpp b/tools/index-test/index-test.cpp
index 5606e75766..d851f5c90b 100644
--- a/tools/index-test/index-test.cpp
+++ b/tools/index-test/index-test.cpp
@@ -125,7 +125,6 @@ int main(int argc, char **argv) {
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();