[all-commits] [llvm/llvm-project] ce8c19: [clang][deps] Fix dependency scanner misidentifyin...

Naveen Seth Hanig via All-commits all-commits at lists.llvm.org
Mon Jul 14 11:37:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce8c19ffc591f069dad72d03697f67f7ecb87524
      https://github.com/llvm/llvm-project/commit/ce8c19ffc591f069dad72d03697f67f7ecb87524
  Author: Naveen Seth Hanig <naveen.hanig at outlook.com>
  Date:   2025-07-15 (Tue, 15 Jul 2025)

  Changed paths:
    M clang/lib/Lex/DependencyDirectivesScanner.cpp
    M clang/unittests/Lex/DependencyDirectivesScannerTest.cpp

  Log Message:
  -----------
  [clang][deps] Fix dependency scanner misidentifying 'import::' as module partition (#148674)

The dependency directive scanner was incorrectly classifying namespaces
such as `import::inner xi` as directives. According to P1857R3, `import` should
not be treated as a directive when followed by `::`.
This change fixes that behavior.



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