Home
last modified time | relevance | path

Searched refs:clang_getCString (Results 1 – 12 of 12) sorted by relevance

/llvm-project/clang/tools/c-index-test/
H A Dc-index-test.c449 PrintCString(clang_getCString(Str)); in PrintCXStringAndDispose()
454 PrintCStringWithPrefix(Prefix, clang_getCString(Str)); in PrintCXStringWithPrefix()
459 PrintCStringWithPrefix(Prefix, clang_getCString(Str)); in PrintCXStringWithPrefixAndDispose()
741 RawCommentCString = clang_getCString(RawComment); in PrintCursorComments()
747 BriefCommentCString = clang_getCString(BriefComment); in PrintCursorComments()
764 ValidateCommentXML(clang_getCString(XML), CommentSchemaFile); in PrintCursorComments()
812 printf("Invalid Cursor => %s", clang_getCString(ks)); in PrintCursor()
835 printf("%s=%s", clang_getCString(ks), in PrintCursor()
836 clang_getCString(string)); in PrintCursor()
867 printf(" (Transparent: %s)", clang_getCString( in PrintCursor()
[all...]
/llvm-project/clang/tools/c-arcmt-test/
H A Dc-arcmt-test.c27 fprintf(stdout, "%s\n", clang_getCString(origFname)); in print_remappings()
28 fprintf(stdout, "%s\n", clang_getCString(transFname)); in print_remappings()
52 fprintf(stdout, "%s\n", clang_getCString(origFname)); in print_remappings_filelist()
53 fprintf(stdout, "%s\n", clang_getCString(transFname)); in print_remappings_filelist()
/llvm-project/clang/docs/
H A DLibClang.rst73 std::cout << "Visiting element " << clang_getCString(current_display_name) << "\n";
185 std::cout << "Type Kind: " << clang_getCString(type_kind_spelling);
194 … std::cout << "pointing to type: " << clang_getCString(pointed_to_type_spelling);// pointed-to type
199 std::cout << ", namely " << clang_getCString(type_spelling);
256 std::cout << "Cursor " << clang_getCString(cursor_spelling);
310 std::cout << "TypeKind: " << clang_getCString(type_kind_spelling);
319 … std::cout << "pointing to type: " << clang_getCString(pointed_to_type_spelling);// pointed-to type
324 std::cout << ", namely " << clang_getCString(type_spelling);
341 std::cout << "Cursor " << clang_getCString(cursor_spelling);
/llvm-project/clang/tools/libclang/
H A DCIndexUSRs.cpp95 OS << extractUSRSuffix(clang_getCString(classUSR)); in clang_constructUSR_ObjCIvar()
105 OS << extractUSRSuffix(clang_getCString(classUSR)); in clang_constructUSR_ObjCMethod()
136 OS << extractUSRSuffix(clang_getCString(classUSR)); in clang_constructUSR_ObjCProperty()
H A DCIndexDiagnostic.cpp260 Out << clang_getCString(FName) << ":" << Line << ":"; in clang_formatDiagnostic()
304 if (clang_getCString(Text)) in clang_formatDiagnostic()
305 Out << clang_getCString(Text); in clang_formatDiagnostic()
317 if (const char *OptionText = clang_getCString(OptionName)) { in clang_formatDiagnostic()
346 Out << clang_getCString(CategoryName); in clang_formatDiagnostic()
H A DCXString.cpp172 const char *clang_getCString(CXString string) { in clang_getCString() function
H A Dlibclang.map234 clang_getCString;
H A DCIndex.cpp6607 *Log << llvm::format("(%s:%d:%d) = %s", clang_getCString(SearchFileName), in clang_getCursorLocation()
6609 clang_getCString(KindSpelling)) in clang_getCursorLocation()
6610 << llvm::format("(%s:%d:%d):%s%s", clang_getCString(ResultFileName), in clang_getCursorLocation()
6611 ResultLine, ResultColumn, clang_getCString(USR), in clang_getCursorLocation()
6629 clang_getCString(DefinitionKindSpelling), in clang_getCursorLocation()
6630 clang_getCString(DefinitionFileName), DefinitionLine, in clang_getCursorLocation()
9855 fprintf(stderr, "%s\n", clang_getCString(Msg)); in clang_getCursorUnaryOperatorKind()
9995 *this << llvm::format("(%s:%d:%d)", clang_getCString(FileName), Line, Column);
10014 *this << llvm::format("[%s %d:%d-%d:%d]", clang_getCString(BFileName),
10018 *this << llvm::format("[%s:%d:%d - ", clang_getCString(BFileNam
[all...]
H A DCIndexCodeCompletion.cpp640 AllocatedResults.ContainerUSR = clang_getCString(CursorUSR); in ProcessCodeCompleteResults()
/llvm-project/clang/include/clang-c/
H A DCXString.h34 * Use \c clang_getCString() to retrieve the string data and, once finished
54 CINDEX_LINKAGE const char *clang_getCString(CXString string);
/llvm-project/clang/unittests/libclang/
H A DTestUtils.h103 std::string string{clang_getCString(cx_string)}; in fromCXString()
H A DLibclangTest.cpp633 << clang_getCString(clang_formatDiagnostic( in DisplayDiagnostics()
658 ASSERT_STREQ(clang_getCString(cxname), CppName.c_str()); in TEST_F()
662 ASSERT_TRUE(llvm::StringRef(clang_getCString(cxname)).ends_with("main.cpp")); in TEST_F()
948 const char* const SpellingCSstr = clang_getCString(Spelling); in TEST_F()