Reid Kleckner fb93154bf1 [MS] Don't escape MS C++ names with \01
It is not needed after LLVM r327734. Now it will be easier to copy-paste
IR symbol names from Clang.

llvm-svn: 327738
2018-03-16 20:36:49 +00:00

22 lines
344 B
C++

// RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -flto -std=c++11 -o - %s | FileCheck %s
struct A {
virtual ~A();
};
struct B {};
struct C {
virtual void f();
};
struct S : A, virtual B, C {
void f() override;
};
void f(S* s) { s->f(); }
// CHECK-LABEL: define dso_local void @"?f@@YAXPAUS@@@Z"
// CHECK: call
// CHECK: ret void