Open Bug 1610567 Opened 6 years ago Updated 3 years ago

clang-format formats multi-line string literals incorrectly

Categories

(Developer Infrastructure :: Lint and Formatting, defect, P3)

x86_64
Linux

Tracking

(Not tracked)

People

(Reporter: MatsPalmgren_bugz, Unassigned)

Details

(Keywords: in-triage)

This shows the original code and the change that clang-format did:

-    NS_ERROR("A repeated header/footer should always have an "
-             "original header/footer it was repeated from");
+    NS_ERROR(
+        "A repeated header/footer should always have an "
+        "original header/footer it was repeated from");

Note that the original code is well below 80 columns wide.

Component: General → Lint and Formatting

The priority flag is not set for this bug.
:ahal, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ahal)
Flags: needinfo?(ahal)
Priority: -- → P3
Product: Firefox Build System → Developer Infrastructure
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.