From cd0655b17249c4c4908ca91462657f62285017e6 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Fri, 1 Feb 2013 08:13:20 +0000 Subject: Add a new -Wundefined-inline warning for inline functions which are used but not defined. Fixes PR14993! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174158 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/MultiplexExternalSemaSource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Sema/MultiplexExternalSemaSource.cpp') diff --git a/lib/Sema/MultiplexExternalSemaSource.cpp b/lib/Sema/MultiplexExternalSemaSource.cpp index 609324d32d..ecce6d8e7b 100644 --- a/lib/Sema/MultiplexExternalSemaSource.cpp +++ b/lib/Sema/MultiplexExternalSemaSource.cpp @@ -201,10 +201,10 @@ void MultiplexExternalSemaSource::ReadKnownNamespaces( Sources[i]->ReadKnownNamespaces(Namespaces); } -void MultiplexExternalSemaSource::ReadUndefinedInternals( +void MultiplexExternalSemaSource::ReadUndefinedButUsed( llvm::DenseMap &Undefined){ for(size_t i = 0; i < Sources.size(); ++i) - Sources[i]->ReadUndefinedInternals(Undefined); + Sources[i]->ReadUndefinedButUsed(Undefined); } bool MultiplexExternalSemaSource::LookupUnqualified(LookupResult &R, Scope *S){ -- cgit v1.2.1