diff options
| author | mydeveloperday <mydeveloperday@gmail.com> | 2021-12-12 17:00:43 +0000 |
|---|---|---|
| committer | mydeveloperday <mydeveloperday@gmail.com> | 2021-12-12 17:00:43 +0000 |
| commit | 05bea533d1fc1bcd63ccb84df9d0edab9701ad70 (patch) | |
| tree | 632feadb761d4dd004bcb96d2074a326fbb593ef /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 77e019c23389b508d75d57653069868a2812e5c7 (diff) | |
[clang-format] [PR49298] Sort includes pass will sort inside raw strings
https://github.com/llvm/llvm-project/issues/48642
clang-format does not respect raw string literals when sorting includes
```
const char *RawStr = R"(
)";
```
Running clang-format over with SortIncludes enabled transforms this code to:
```
const char *RawStr = R"(
)";
```
The following code tries to minimize this impact during IncludeSorting, by treating R"( and )" as equivalent of // clang-format off/on
Reviewed By: HazardyKnusperkeks, curdeius
Differential Revision: https://reviews.llvm.org/D115168
Fixes #48642
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
