]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331245 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/char8_t.cpp

index e4dba584a6ec257e64ba4a20e09ba35994ab67de..5aa03830606a8523a9c9818f91f6ba88ed8daa44 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*);