[clang-tools-extra] [clang-tidy] Add new check misc-use-braced-initialization (PR #184009)
Zeyi Xu via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 25 20:15:12 PDT 2026
================
@@ -94,6 +93,21 @@ SourceLocation findNextAnyTokenKind(SourceLocation Start,
}
}
+// Finds previous token, possibly a comment.
+inline std::optional<Token>
+findPreviousTokenIncludingComments(SourceLocation Start,
----------------
zeyi2 wrote:
Nit: seems that this function is not used in this Patch? Is this intended?
https://github.com/llvm/llvm-project/pull/184009
More information about the cfe-commits
mailing list