Skip to content

Commit 1c3df53

Browse files
[NFC] Explicitly use clang::Module in test file
#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).
1 parent ef1260a commit 1c3df53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/AST/ExternalASTSourceTest.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ TEST(ExternalASTSourceTest, FailedLookupOccursOnce) {
6969

7070
bool FindExternalVisibleDeclsByName(const DeclContext *,
7171
DeclarationName Name,
72-
Module *NamedModule) override {
72+
clang::Module *NamedModule) override {
7373
if (Name.getAsString() == "j")
7474
++Calls;
7575
return false;

0 commit comments

Comments
 (0)