Skip to content

Beautifier can't parse C++11 raw strings #68

@bcov77

Description

@bcov77

If you have a C++11 raw string in your code, the beautifier will give this error message.

MACRO set:  did not produce the same tree in the original and beautified code for ...

Raw strings are pretty cool because they allow you to have multiline strings without all the extra "" and also allow you to have unescaped sequences like for regular expressions.

They typically look like this:

std::string my_raw_string = R"(
   woo look at me, it's a
   multiline string that "breaks" \ all sorts of rules 
)";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions