Skip to content
Commit 93f31004 authored by Jonathan Poelen's avatar Jonathan Poelen Committed by Christoph Cullmann
Browse files

C++: add 'Raw String Literal Prefix' style and restricts the style of invalid raw string

Before:
```cpp
foo(R"", 42);
//  ~~        Raw String Delimiter
//    ~~~~~~~ Error
foo(R"a(bla bla)a", 42);
//  ~~~~       ~~~ Raw String Delimiter
//      ~~~~~~~    Raw String
```

Now:
```cpp
foo(R"", 42);
//  ~   Raw String Literal Prefix
//   ~~ Error
foo(R"a(bla bla)a", 42);
//  ~              Raw String Literal Prefix
//   ~~~       ~~~ Raw String Delimiter
//      ~~~~~~~    Raw String
```
parent f5056418
Pipeline #517279 passed with stage
in 2 minutes and 42 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment