Skip to content

Commit fd4a16a

Browse files
committed
AST: disambiguate swift::detail namespace (NFC)
swift::detail is ambiguous when building lldb for MSVC. It is unable to disambiguate between `lldb::swift::detail` and `swift::detail`. Explicitly qualify the namespace to help it disambiguate it.
1 parent 4d30cd3 commit fd4a16a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/ClangNode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class ClangNode {
111111
namespace llvm {
112112
template <typename T>
113113
struct PointerLikeTypeTraits<swift::detail::ClangNodeBox<T>> {
114-
using Box = swift::detail::ClangNodeBox<T>;
114+
using Box = ::swift::detail::ClangNodeBox<T>;
115115

116116
static inline void *getAsVoidPointer(Box P) {
117117
return const_cast<void *>(static_cast<const void *>(P.value));

0 commit comments

Comments
 (0)