diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2013-02-01 08:13:20 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2013-02-01 08:13:20 +0000 |
commit | cd0655b17249c4c4908ca91462657f62285017e6 (patch) | |
tree | f591e7ddc3ef7fdc95b065a9ae56a34d7b42c906 /lib/Sema/MultiplexExternalSemaSource.cpp | |
parent | be507b6e72df8ab5e7d8c31eb4453e1bdf5fcfaf (diff) | |
download | clang-cd0655b17249c4c4908ca91462657f62285017e6.tar.gz |
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
Diffstat (limited to 'lib/Sema/MultiplexExternalSemaSource.cpp')
-rw-r--r-- | lib/Sema/MultiplexExternalSemaSource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<NamedDecl*, SourceLocation> &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){ |