Skip to content

Commit 3b09265

Browse files
committed
Fix getTypeNameImpl on win
1 parent b856952 commit 3b09265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Support/TypeName.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ template <typename DesiredTypeName> inline StringRef getTypeNameImpl() {
2828
#elif defined(_MSC_VER)
2929
StringRef Name = __FUNCSIG__;
3030

31-
StringRef Key = "getTypeName<";
31+
StringRef Key = "getTypeNameImpl<";
3232
Name = Name.substr(Name.find(Key));
3333
assert(!Name.empty() && "Unable to find the function name!");
3434
Name = Name.drop_front(Key.size());

0 commit comments

Comments
 (0)