Make users of FindUsedTypes not have problems with linkage. This fixes
authorChris Lattner <sabre@nondot.org>
Tue, 24 Sep 2002 00:07:21 +0000 (00:07 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 24 Sep 2002 00:07:21 +0000 (00:07 +0000)
Cwriter.

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

lib/Analysis/IPA/FindUsedTypes.cpp

index 6bd79f25feee93f6e5d81c39e6c91db08c3f851f..0916ab8c65f2a5cd427331bd11646a0dfe20871c 100644 (file)
@@ -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.
 //