CIndex/USRs: Disable a bogus assert, we don't want CIndex to crash liberally. I

have sent Ted a test case for this.

llvm-svn: 94935
This commit is contained in:
Daniel Dunbar 2010-01-31 00:41:05 +00:00
parent 45dc842a0e
commit baf33fc56f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}