summaryrefslogtreecommitdiff
path: root/lib/Analysis/IPA/FindUsedTypes.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-09-24 00:07:21 +0000
committerChris Lattner <sabre@nondot.org>2002-09-24 00:07:21 +0000
commit5057b00fafa930756c10e033f1a4406de4b21f83 (patch)
tree8b14911d6806ae7189ba892758dc265f4a9766ee /lib/Analysis/IPA/FindUsedTypes.cpp
parent47b6f84736197b5ece84860e6cb6052ebc60c646 (diff)
downloadllvm-5057b00fafa930756c10e033f1a4406de4b21f83.tar.gz
llvm-5057b00fafa930756c10e033f1a4406de4b21f83.tar.bz2
llvm-5057b00fafa930756c10e033f1a4406de4b21f83.tar.xz
Make users of FindUsedTypes not have problems with linkage. This fixes
Cwriter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IPA/FindUsedTypes.cpp')
-rw-r--r--lib/Analysis/IPA/FindUsedTypes.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Analysis/IPA/FindUsedTypes.cpp b/lib/Analysis/IPA/FindUsedTypes.cpp
index 6bd79f25fe..0916ab8c65 100644
--- a/lib/Analysis/IPA/FindUsedTypes.cpp
+++ b/lib/Analysis/IPA/FindUsedTypes.cpp
@@ -14,6 +14,9 @@
static RegisterAnalysis<FindUsedTypes>
X("printusedtypes", "Find Used Types");
+// stub to help linkage
+void FindUsedTypes::stub() {}
+
// IncorporateType - Incorporate one type and all of its subtypes into the
// collection of used types.
//