]> granicus.if.org Git - clang/commitdiff
test/CodeGenCXX/dllexport.cpp: we already correctly emit b() even when
authorHans Wennborg <hans@hanshq.net>
Fri, 16 May 2014 00:09:31 +0000 (00:09 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 16 May 2014 00:09:31 +0000 (00:09 +0000)
it's not used, because CodeGenModule::EmitGlobal consults
ASTContext::DeclMustBeEmitted via CodeGenModule::MayDeferGeneration.

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

test/CodeGenCXX/dllexport.cpp

index fe9806893b2d34f3a67d97d4b69dd6d77c144398..372ed8a0b2ccda73407b825d8f627f651c388d4a 100644 (file)
@@ -18,8 +18,7 @@ struct S {
 };
 
 void user() {
-  // FIXME: dllexported functions must be emitted even if they're not referenced in this TU.
   a();
-  b();
+  // FIXME: dllexported methods must be emitted even if they're not referenced in this TU.
   &S::a;
 }