Fix up r331244 - the emitted definition is weak_odr linkage. Should get
authorChandler Carruth <chandlerc@gmail.com>
Tue, 1 May 2018 06:48:30 +0000 (06:48 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 1 May 2018 06:48:30 +0000 (06:48 +0000)
the build bots to healthy again without a full revert. As the
functionality added has nothing to do with linkage this seems unlikely
to represent a deep or interesting bug in the patch.

llvm-svn: 331245

clang/test/CodeGenCXX/char8_t.cpp

index e4dba58..5aa0383 100644 (file)
@@ -3,6 +3,6 @@
 // CHECK: define void @_Z1fDu(
 void f(char8_t c) {}
 
-// CHECK: define void @_Z1gIiEvDTplplcvT__ELA4_KDuELDu114EE
+// CHECK: define weak_odr void @_Z1gIiEvDTplplcvT__ELA4_KDuELDu114EE
 template<typename T> void g(decltype(T() + u8"foo" + u8'r')) {}
 template void g<int>(const char8_t*);