clang-format: Set PointerAlignment to Left

This commit is contained in:
halx99 2021-07-17 23:36:13 +08:00
parent ad035e2729
commit 81f646783b
2 changed files with 3 additions and 3 deletions

View File

@ -37,8 +37,8 @@ BraceWrapping:
# Indent case labels. # Indent case labels.
IndentCaseLabels: true IndentCaseLabels: true
# Right-align pointers and references # Left-align pointers and references
PointerAlignment: Right PointerAlignment: Left
# ANGLE likes to align things as much as possible. # ANGLE likes to align things as much as possible.
AlignOperands: true AlignOperands: true

View File

@ -26,7 +26,7 @@
namespace fmt namespace fmt
{ {
template <typename... T> template <typename... T>
inline std::string &format_to(std::string &out, format_string<T...> fmt, T &&...args) inline std::string& format_to(std::string& out, format_string<T...> fmt, T&&... args)
{ {
out.clear(); out.clear();
vformat_to(std::back_inserter(out), fmt, fmt::make_format_args(args...)); vformat_to(std::back_inserter(out), fmt, fmt::make_format_args(args...));