[clang] Fix comment indentation in clang/include/clang/AST/FormatString.h (PR #174780)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 7 06:49:43 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Lakreite (lakreite)
<details>
<summary>Changes</summary>
This commit fixes the indentation of a comment in `clang/include/clang/AST/FormatString.h` to align with the LLVM style guide (2 spaces instead of 4).
No functional changes - only formatting.
Related issue: None (trivial fix).
---
Full diff: https://github.com/llvm/llvm-project/pull/174780.diff
1 Files Affected:
- (modified) clang/include/clang/AST/FormatString.h (+1-1)
``````````diff
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;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/174780
More information about the cfe-commits
mailing list