From 5057b00fafa930756c10e033f1a4406de4b21f83 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 24 Sep 2002 00:07:21 +0000 Subject: [PATCH] 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 --- lib/Analysis/IPA/FindUsedTypes.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Analysis/IPA/FindUsedTypes.cpp b/lib/Analysis/IPA/FindUsedTypes.cpp index 6bd79f25fee..0916ab8c65f 100644 --- a/lib/Analysis/IPA/FindUsedTypes.cpp +++ b/lib/Analysis/IPA/FindUsedTypes.cpp @@ -14,6 +14,9 @@ static RegisterAnalysis 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. // -- 2.34.1