commit | 8d0eb2f71fb74bd7f5a145e811910273abc98a39 | [log] [tgz] |
---|---|---|
author | Dmitri Gribenko <gribozavr@gmail.com> | Sun Feb 03 13:26:20 2013 +0000 |
committer | Dmitri Gribenko <gribozavr@gmail.com> | Sun Feb 03 13:26:20 2013 +0000 |
tree | e6780266d070f4bf882eee38e8197fc031566b3c | |
parent | b35cc2d46c4188a0b2d094b3104ce69092c34802 [diff] [blame] |
libclang: remove unneeded const_cast git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174283 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/libclang/CIndexUSRs.cpp b/tools/libclang/CIndexUSRs.cpp index 7b73239..01b0053 100644 --- a/tools/libclang/CIndexUSRs.cpp +++ b/tools/libclang/CIndexUSRs.cpp
@@ -810,7 +810,7 @@ return true; USRGenerator UG(&D->getASTContext(), &Buf); - UG->Visit(const_cast<Decl*>(D)); + UG->Visit(D); if (UG->ignoreResults()) return true;