diff options
Diffstat (limited to 'clang/tools/libclang/CXCursor.h')
-rw-r--r-- | clang/tools/libclang/CXCursor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/tools/libclang/CXCursor.h b/clang/tools/libclang/CXCursor.h index e3ca2680f12..e402d7f970c 100644 --- a/clang/tools/libclang/CXCursor.h +++ b/clang/tools/libclang/CXCursor.h @@ -218,6 +218,11 @@ static inline CXCursor getTypeRefedCallExprCursor(CXCursor cursor) { CXCursor getTypeRefCursor(CXCursor cursor); +/// \brief Generate a USR for \arg D and put it in \arg Buf. +/// \returns true if no USR was computed or the result should be ignored, +/// false otherwise. +bool getDeclCursorUSR(Decl *D, SmallVectorImpl<char> &Buf); + bool operator==(CXCursor X, CXCursor Y); inline bool operator!=(CXCursor X, CXCursor Y) { |