libclang: remove unneeded const_cast

llvm-svn: 174283
This commit is contained in:
Dmitri Gribenko 2013-02-03 13:26:20 +00:00
parent 37527c242a
commit d73f73b0dd
1 changed files with 1 additions and 1 deletions

View File

@ -810,7 +810,7 @@ bool cxcursor::getDeclCursorUSR(const Decl *D, SmallVectorImpl<char> &Buf) {
return true;
USRGenerator UG(&D->getASTContext(), &Buf);
UG->Visit(const_cast<Decl*>(D));
UG->Visit(D);
if (UG->ignoreResults())
return true;