[llvm] [llvm][mustache] Align standalone partial indentation with spec (PR #159185)
Paul Kirth via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 29 10:41:18 PDT 2025
================
@@ -292,8 +292,7 @@ void stripTokenBefore(SmallVectorImpl<Token> &Tokens, size_t Idx,
StringRef PrevTokenBody = PrevToken.TokenBody;
StringRef Unindented = PrevTokenBody.rtrim(" \r\t\v");
size_t Indentation = PrevTokenBody.size() - Unindented.size();
- if (CurrentType != Token::Type::Partial)
- PrevToken.TokenBody = Unindented.str();
+ PrevToken.TokenBody = Unindented.str();
----------------
ilovepi wrote:
Good catch. Done.
https://github.com/llvm/llvm-project/pull/159185
More information about the llvm-commits
mailing list