[all-commits] [llvm/llvm-project] 1c3df5: [NFC] Explicitly use `clang::Module` in test file

Hubert Tong via All-commits all-commits at lists.llvm.org
Wed Jan 15 13:44:47 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c3df5308a86aaed4c91869982d365cc20f2b511
      https://github.com/llvm/llvm-project/commit/1c3df5308a86aaed4c91869982d365cc20f2b511
  Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
  Date:   2025-01-15 (Wed, 15 Jan 2025)

  Changed paths:
    M clang/unittests/AST/ExternalASTSourceTest.cpp

  Log Message:
  -----------
  [NFC] Explicitly use `clang::Module` in test file

https://github.com/llvm/llvm-project/pull/122887 uses `Module` to refer
to `clang::Module` in a test that has `using namespace llvm;`.

This causes lookup ambiguity with `llvm::Module` if the headers involved
expose that name (e.g., for downstream codebases).



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