Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[clang-c] refactor CXString #139028

Copy link
Copy link
Open
Open
Copy link
@illusory0x0

Description

@illusory0x0
Issue body actions

Simplify the CXString implementation by pointing to a StringRef::data with CXString directly, allocating memory when clang_getCString is called, and then constructing a null terminated string.

add two API

  • clang_getCXString_len
  • clang_getCXString_ptr

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.