[all-commits] [llvm/llvm-project] 8ff37b: [clang] NestedNameSpecifier typo correction fix

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Thu Feb 12 13:20:21 PST 2026


  Branch: refs/heads/users/mizvekov/GH167120
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ff37b56865fd4c3ebd54ac243c3fd7e1629f4ad
      https://github.com/llvm/llvm-project/commit/8ff37b56865fd4c3ebd54ac243c3fd7e1629f4ad
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    A clang/test/SemaCXX/GH167120.cpp

  Log Message:
  -----------
  [clang] NestedNameSpecifier typo correction fix

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