Details
-
Task
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
Fully Compatible
-
TIG 10 (02/19/16)
Description
Clang format 3.6 does not properly handle JS template strings, code enclosed by a back-tick `.
This code should be left unformatted by clang-format using the following
// clang-format off
|
newCode = `load("${overridesFile}");
|
(${jsCode})();
|
`;
|
// clang-format on
|
Attachments
Issue Links
- related to
-
SERVER-22696 Remove clang-format workarounds for template strings in JS code
-
- Closed
-