summaryrefslogtreecommitdiffstats
path: root/clang/tools/index-test/index-test.cpp
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
commit3cfb28a68d6e22cc3d83bf9193a5f6e8cbd4a38e (patch)
tree8d2e474c78e3551a3c3668c99f51f55f7c1d2203 /clang/tools/index-test/index-test.cpp
parente4edb8e81885f5271260c156e39c1fabce518a58 (diff)
downloadbcm5719-llvm-3cfb28a68d6e22cc3d83bf9193a5f6e8cbd4a38e.tar.gz
bcm5719-llvm-3cfb28a68d6e22cc3d83bf9193a5f6e8cbd4a38e.zip
Remove redundant leftover code.
llvm-svn: 74433
Diffstat (limited to 'clang/tools/index-test/index-test.cpp')
-rw-r--r--clang/tools/index-test/index-test.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/tools/index-test/index-test.cpp b/clang/tools/index-test/index-test.cpp
index 5606e757669..d851f5c90bb 100644
--- a/clang/tools/index-test/index-test.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud