diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-01-31 00:41:05 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-01-31 00:41:05 +0000 |
commit | a9f696da69e6b7ad50f527ab33be396edf7d1424 (patch) | |
tree | 8f23a7090c0ba2a6578812eaa40f28f6d43fc0e4 | |
parent | 6d32cb85ee7252c4bb34ca5a65636b85447cbf62 (diff) |
CIndex/USRs: Disable a bogus assert, we don't want CIndex to crash liberally. I
have sent Ted a test case for this.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94935 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/CIndex/CIndexUSRs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/CIndex/CIndexUSRs.cpp b/tools/CIndex/CIndexUSRs.cpp index fd605fb68d..a992dbf12a 100644 --- a/tools/CIndex/CIndexUSRs.cpp +++ b/tools/CIndex/CIndexUSRs.cpp @@ -74,7 +74,7 @@ void USRGenerator::VisitFunctionDecl(FunctionDecl *D) { void USRGenerator::VisitNamedDecl(NamedDecl *D) { VisitDeclContext(D->getDeclContext()); const std::string &s = D->getNameAsString(); - assert(!s.empty()); +// assert(!s.empty()); Out << "@^" << s; } |