[clang-tools-extra] [clang-tidy] Preserve typedef comments in `modernize-use-using` (PR #180372)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 21 11:01:15 PST 2026
================
@@ -160,6 +160,86 @@ getTrailingCommentsInRange(CharSourceRange Range, const SourceManager &SM,
return Comments;
}
+std::string getSourceText(CharSourceRange Range, const SourceManager &SM,
+ const LangOptions &LangOpts) {
+ if (!Range.isValid())
----------------
vbvictor wrote:
ditto elsewhere
https://github.com/llvm/llvm-project/pull/180372
More information about the cfe-commits
mailing list