diff options
| author | Hans Wennborg <hans@hanshq.net> | 2014-05-16 00:09:31 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2014-05-16 00:09:31 +0000 |
| commit | 4e43fef3e5955e3021bf572b7147d4f77eff45f8 (patch) | |
| tree | 68f87d8b622cc5751f11caa196f52525b6507474 | |
| parent | d20c970aaca0d60d9a20c86c9a8c8adc4c13a584 (diff) | |
| download | bcm5719-llvm-4e43fef3e5955e3021bf572b7147d4f77eff45f8.tar.gz bcm5719-llvm-4e43fef3e5955e3021bf572b7147d4f77eff45f8.zip | |
test/CodeGenCXX/dllexport.cpp: we already correctly emit b() even when
it's not used, because CodeGenModule::EmitGlobal consults
ASTContext::DeclMustBeEmitted via CodeGenModule::MayDeferGeneration.
llvm-svn: 208936
| -rw-r--r-- | clang/test/CodeGenCXX/dllexport.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/dllexport.cpp b/clang/test/CodeGenCXX/dllexport.cpp index fe9806893b2..372ed8a0b2c 100644 --- a/clang/test/CodeGenCXX/dllexport.cpp +++ b/clang/test/CodeGenCXX/dllexport.cpp @@ -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; } |

