llnl / llnl/rose

Failed to copy wide char string literal

Open
#391 0 comments 0 reactions 1 assignee Claimed by @tristanvdb View on GitHub
Dominant language
C
Stars
688
Forks
144
PR merge metrics
No merged PRs in 30d

Description

Example C++ code:
```c++
void sub(const wchar_t *a)
{
}

void top()
{
sub(L"a");
}
```
The prefix `L` in `L"a"`specifies `"a"` is wide char string. When using `SageInterface::copyExpression` to copy such string literals, the prefix `L` is dropped.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.