#include "CIndexer.h"
#include "CXCursor.h"
#include "CXString.h"
#include "CXTranslationUnit.h"
#include "clang/Frontend/ASTUnit.h"
#include "clang/Index/USRGeneration.h"
#include "clang/Lex/PreprocessingRecord.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/raw_ostream.h"
usingnamespaceclang;
usingnamespaceclang::index;
static inline StringRef extractUSRSuffix(StringRef s) { … }
bool cxcursor::getDeclCursorUSR(const Decl *D, SmallVectorImpl<char> &Buf) { … }
CXString clang_getCursorUSR(CXCursor C) { … }
CXString clang_constructUSR_ObjCIvar(const char *name, CXString classUSR) { … }
CXString clang_constructUSR_ObjCMethod(const char *name,
unsigned isInstanceMethod,
CXString classUSR) { … }
CXString clang_constructUSR_ObjCClass(const char *name) { … }
CXString clang_constructUSR_ObjCProtocol(const char *name) { … }
CXString clang_constructUSR_ObjCCategory(const char *class_name,
const char *category_name) { … }
CXString clang_constructUSR_ObjCProperty(const char *property,
CXString classUSR) { … }