[clang] [Clang][NFC] Fix comment indentation in clang/include/clang/AST/FormatString.h (PR #174780)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 15 07:55:56 PST 2026
https://github.com/lakreite updated https://github.com/llvm/llvm-project/pull/174780
>From 161043a4d0d48511de798e46ceccf6c2106187a7 Mon Sep 17 00:00:00 2001
From: lakreite <lakreite at gmail.com>
Date: Wed, 7 Jan 2026 17:40:38 +0300
Subject: [PATCH] The comment was indented by 4 spaces instead of 2, violating
the LLVM style guide [1]. Adjusted to match the surrounding code.
[1] https://llvm.org/docs/CodingStandards.html#indentation
---
clang/include/clang/AST/FormatString.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/include/clang/AST/FormatString.h b/clang/include/clang/AST/FormatString.h
index a284f2c44d633..56474e8e115fb 100644
--- a/clang/include/clang/AST/FormatString.h
+++ b/clang/include/clang/AST/FormatString.h
@@ -387,7 +387,7 @@ class OptionalAmount {
}
const char *getStart() const {
- // We include the . character if it is given.
+ // We include the . character if it is given.
return start - UsesDotPrefix;
}
More information about the cfe-commits
mailing list