diff options
| author | Etienne Bergeron <etienneb@google.com> | 2016-05-12 19:51:18 +0000 |
|---|---|---|
| committer | Etienne Bergeron <etienneb@google.com> | 2016-05-12 19:51:18 +0000 |
| commit | 98de80529a170aa90ffdcb519aeab622573414ad (patch) | |
| tree | dd1a11a0756053ef68e3f16e400dd711e4fbaab6 /clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp | |
| parent | f85452426c2806a9fd9d93269e72071a02fc838d (diff) | |
| download | bcm5719-llvm-98de80529a170aa90ffdcb519aeab622573414ad.tar.gz bcm5719-llvm-98de80529a170aa90ffdcb519aeab622573414ad.zip | |
[Tooling] Fix broken dependency for shared build
Summary:
There virtual destructor can't be found and cause a compilation error
on a shared build.
To repro: [Release + Shared]
```
-DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
```
Which produce this error:
```
tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/ToolingTest.cpp.o: In function `clang::tooling::newFrontendActionFactory_CreatesFrontendActionFactoryFromType_Test::TestBody()':
ToolingTest.cpp:(.text._ZN5clang7tooling66newFrontendActionFactory_CreatesFrontendActionFactoryFromType_Test8TestBodyEv+0x49): undefined reference to `clang::SyntaxOnlyAction::~SyntaxOnlyAction()'
```
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D20218
llvm-svn: 269334
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp')
0 files changed, 0 insertions, 0 deletions

