Cleanup: Use raw string literal

Resolves modernize-raw-string-literal Clang-Tidy warning

The way warning works is it suggests to use raw literal when
overhead of having escape characters is higher than the overhead
of having raw literal syntax (talking about code size overhead).
This means that the warning will not trigger for "foo\"bar".

Differential Revision: https://developer.blender.org/D10322
This commit is contained in:
Sergey Sharybin
2021-02-05 14:06:43 +01:00
parent 5ec4ba8080
commit b4dca4ea2c
5 changed files with 10 additions and 11 deletions

View File

@@ -39,7 +39,6 @@ Checks: >
-modernize-use-nodiscard,
-modernize-loop-convert,
-modernize-pass-by-value,
-modernize-raw-string-literal,
WarningsAsErrors: '*'
CheckOptions: