[all-commits] [llvm/llvm-project] aac888: [clang] NestedNameSpecifier typo correction fix (#...
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Fri Feb 13 04:44:28 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aac8885d323172475fca41a8c03dea495187d10f
https://github.com/llvm/llvm-project/commit/aac8885d323172475fca41a8c03dea495187d10f
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2026-02-13 (Fri, 13 Feb 2026)
Changed paths:
M clang/lib/Sema/SemaCXXScopeSpec.cpp
A clang/test/SemaCXX/GH167120.cpp
Log Message:
-----------
[clang] NestedNameSpecifier typo correction fix (#181239)
This stops typo correction from considering template parameters as
candidates for a NestedNameSpecifier when it has a prefix itself.
I think this is better than the alternative of accepting these
candidates, but otherwise droping the prefix, because it seems more
far-fetched that someone would actually try to refer to a template
parameter this way.
Since this regression was never released, there are no release notes.
Fixes #167120
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list