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.
IndentCaseLabels: true
# Right-align pointers and references
PointerAlignment: Right
# Left-align pointers and references
PointerAlignment: Left
# ANGLE likes to align things as much as possible.
AlignOperands: true

View File

@ -26,7 +26,7 @@
namespace fmt
{
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();
vformat_to(std::back_inserter(out), fmt, fmt::make_format_args(args...));