diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-04-11 21:13:37 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-04-11 21:13:37 +0000 |
commit | a312d25909101f12a3b66a95aa0692676d3924fa (patch) | |
tree | bf881d7ef0890a6b5fb7bd5170aa089bd902ded0 /lib/AST/ExternalASTSource.cpp | |
parent | fd6174d4ae513da6a0d2a26d61ce3af2a949533a (diff) |
Modular Codegen: Support homing debug info for types in modular objects
Matching the function-homing support for modular codegen. Any type
implicitly (implicit template specializations) or explicitly defined in
a module is attached to that module's object file and omitted elsewhere
(only a declaration used if necessary for references).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299987 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ExternalASTSource.cpp')
-rw-r--r-- | lib/AST/ExternalASTSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/ExternalASTSource.cpp b/lib/AST/ExternalASTSource.cpp index 958a67843b..182d38242f 100644 --- a/lib/AST/ExternalASTSource.cpp +++ b/lib/AST/ExternalASTSource.cpp @@ -29,7 +29,7 @@ ExternalASTSource::getSourceDescriptor(unsigned ID) { } ExternalASTSource::ExtKind -ExternalASTSource::hasExternalDefinitions(const FunctionDecl *FD) { +ExternalASTSource::hasExternalDefinitions(const Decl *D) { return EK_ReplyHazy; } |