diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-09-30 18:05:39 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-09-30 18:05:39 +0000 |
commit | bdf4477271fb76aee983620359b32b0abf90c77f (patch) | |
tree | 5fbed45026617c3b3dfd3b54244625c7a2f33f67 /lib/Frontend/CompilerInvocation.cpp | |
parent | 0d63878a31584a1a7e9760574bcff31e41906a93 (diff) | |
download | clang-bdf4477271fb76aee983620359b32b0abf90c77f.tar.gz |
Fix linkage error on ProgramPoint's dump method.
Currently, ProgramPoint::dump calls the out-of-line function ProgramPoint::print. This causes
libraries which include ProgramPoint.h to become dependent on libclangAnalysis, which in turn
causes missing symbol link error when building with -DBUILD_SHARED_LIBS=ON -DLLVM_ENABLE_MODULES=ON.
The breakage was introduced in r343160.
This patch fixes the issues by moving ProgramPoint::dump's declaration out of line.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions