Lines Matching refs:createDup
3450 return cxstring::createDup(CXXUnit->getOriginalSourceFileName()); in clang_getTranslationUnitSpelling()
3688 return cxstring::createDup(Property->getIdentifier()->getName()); in getDeclSpelling()
3692 return cxstring::createDup(Mod->getFullModuleName()); in getDeclSpelling()
3698 return cxstring::createDup(OMD->getSelector().getAsString()); in getDeclSpelling()
3713 return cxstring::createDup(os.str()); in getDeclSpelling()
3737 return cxstring::createDup(B->getType().getAsString()); in clang_getCursorSpelling()
3743 return cxstring::createDup(getCursorContext(C).getTypeDeclType(Type). in clang_getCursorSpelling()
3750 return cxstring::createDup(Template->getNameAsString()); in clang_getCursorSpelling()
3757 return cxstring::createDup(NS->getNameAsString()); in clang_getCursorSpelling()
3764 return cxstring::createDup(Field->getNameAsString()); in clang_getCursorSpelling()
3778 return cxstring::createDup(ND->getNameAsString()); in clang_getCursorSpelling()
3782 return cxstring::createDup(E->getName().getAsString()); in clang_getCursorSpelling()
3787 return cxstring::createDup((*Ovl->begin())->getNameAsString()); in clang_getCursorSpelling()
3794 return cxstring::createDup(Var->getNameAsString()); in clang_getCursorSpelling()
3816 return cxstring::createDup(OS.str()); in clang_getCursorSpelling()
3842 return cxstring::createDup(getCursorInclusionDirective(C)->getFileName()); in clang_getCursorSpelling()
3849 return cxstring::createDup(AA->getAnnotation()); in clang_getCursorSpelling()
3854 return cxstring::createDup(AA->getLabel()); in clang_getCursorSpelling()
4002 return cxstring::createDup(FinalBufOS.str()); in clang_Cursor_getMangling()
4084 return cxstring::createDup(OS.str()); in clang_getCursorDisplayName()
4115 return cxstring::createDup(OS.str()); in clang_getCursorDisplayName()
4122 return cxstring::createDup(TSInfo->getType().getAsString(Policy)); in clang_getCursorDisplayName()
4131 return cxstring::createDup(OS.str()); in clang_getCursorDisplayName()
5602 return cxstring::createDup(StringRef(Text, CXTok.int_data[2])); in clang_getTokenSpelling()
5630 return cxstring::createDup(Buffer.substr(LocInfo.second, CXTok.int_data[2])); in clang_getTokenSpelling()
6655 *deprecated_message = cxstring::createDup(Deprecated->getMessage()); in getCursorPlatformAvailabilityForDecl()
6666 *unavailable_message = cxstring::createDup(Unavailable->getMessage()); in getCursorPlatformAvailabilityForDecl()
6675 = cxstring::createDup(Avail->getPlatform()->getName()); in getCursorPlatformAvailabilityForDecl()
6680 availability[N].Message = cxstring::createDup(Avail->getMessage()); in getCursorPlatformAvailabilityForDecl()
7008 return cxstring::createDup(Mod->Name); in clang_Module_getName()
7015 return cxstring::createDup(Mod->getFullModuleName()); in clang_Module_getFullName()
7506 return cxstring::createDup(getClangFullVersion()); in clang_getClangVersion()