[PATCH] D27621: [clang-tidy] check to find declarations declaring more than one name
Firat Kasmis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 12 15:15:31 PST 2016
firolino marked 2 inline comments as done.
firolino added inline comments.
================
Comment at: clang-tidy/readability/OneNamePerDeclarationCheck.cpp:86
+
+ Diag << FixItHint::CreateReplacement(CommaRange, ";")
+ << FixItHint::CreateReplacement(AfterCommaToVarNameRange,
----------------
malcolm.parsons wrote:
> A `SourceLocation` can be implicitly converted to a `SourceRange`.
Thanks. Just saw the constructor.
https://reviews.llvm.org/D27621
More information about the cfe-commits
mailing list