This is an archive of the discontinued LLVM Phabricator instance.

llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...)
ClosedPublic

Authored by MaskRay on Sep 26 2018, 2:12 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

MaskRay created this revision.Sep 26 2018, 2:12 PM
MaskRay added a reviewer: Restricted Project.Sep 26 2018, 2:13 PM
MaskRay added a reviewer: dblaikie.
rsmith accepted this revision.Sep 26 2018, 3:02 PM

Thanks for the cleanup! Maybe consider running clang-format-diff on this?

lib/Sema/SemaOverload.cpp
10813–10814 ↗(On Diff #167202)

Reflow.

lib/Serialization/ASTReader.cpp
9193–9194 ↗(On Diff #167202)

Reflow if this fits on the previous line.

lib/Serialization/ASTWriter.cpp
2498–2499 ↗(On Diff #167202)

Reflow.

3233–3234 ↗(On Diff #167202)

Reflow.

lib/StaticAnalyzer/Core/BugReporter.cpp
2389–2390 ↗(On Diff #167202)

Reflow if this fits on the previous line.

utils/TableGen/ClangDiagnosticsEmitter.cpp
1716–1719 ↗(On Diff #167202)

Reflow these lines.

This revision is now accepted and ready to land.Sep 26 2018, 3:02 PM
MaskRay updated this revision to Diff 167206.Sep 26 2018, 3:08 PM

Reflow nearby statements as rsmith@ requested:

git diff -U0 --no-color 'HEAD^' | ~/llvm/tools/clang/tools/clang-format/clang-format-diff.py -i -p1

This revision was automatically updated to reflect the committed changes.