[clang] [Clang] Implement the 'counted_by' attribute (PR #68750)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 12 09:46:31 PDT 2023
================
@@ -282,7 +282,7 @@ class CorrectionCandidateCallback {
public:
static const unsigned InvalidDistance = TypoCorrection::InvalidDistance;
- explicit CorrectionCandidateCallback(IdentifierInfo *Typo = nullptr,
+ explicit CorrectionCandidateCallback(const IdentifierInfo *Typo = nullptr,
----------------
AaronBallman wrote:
Improved const correctness -- I love it!! :-) (If the review takes a while, feel free to land the const correctness changes as an NFC commit.)
https://github.com/llvm/llvm-project/pull/68750
More information about the cfe-commits
mailing list