diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-01-26 22:44:19 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-01-26 22:44:19 +0000 |
commit | 9c48d16a11872624410ab3a5944edcba0f32818c (patch) | |
tree | b11a292bc1ab82874fdc713360df9234354eab1b /tools/libclang/CIndexUSRs.cpp | |
parent | a6504853d297c30cfa271f4710af5a3d5db59449 (diff) |
libclang: refactor CXStringPool: make it a class
We are not exposing the pool or string buffers to libclang users, so no need to
maintain a procedural interface.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/CIndexUSRs.cpp')
-rw-r--r-- | tools/libclang/CIndexUSRs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/CIndexUSRs.cpp b/tools/libclang/CIndexUSRs.cpp index 16735f4d52..eac74fa8b0 100644 --- a/tools/libclang/CIndexUSRs.cpp +++ b/tools/libclang/CIndexUSRs.cpp @@ -835,7 +835,7 @@ CXString clang_getCursorUSR(CXCursor C) { bool Ignore = cxcursor::getDeclCursorUSR(D, buf->Data); if (Ignore) { - disposeCXStringBuf(buf); + buf->dispose(); return createCXString(""); } |