Files
clang-p2996/mlir/unittests/Support/IndentedOstreamTest.cpp
Scott Todd c304be7cfd [mlir][docgen] Handle Windows line endings in doc generation.
The `printReindented` function searches for Unix style line endings (`\n`), but strings may have Windows style line endings (`\r\n`). Prior to this change, generated document sections could have extra indentation, which some markdown renderers interpret as code blocks rather than paragraphs.

Differential Revision: https://reviews.llvm.org/D153591
2023-06-29 09:56:49 -07:00

3.1 KiB