diff options
| author | Sam McCall <sam.mccall@gmail.com> | 2019-10-07 10:53:56 +0000 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2019-10-07 10:53:56 +0000 |
| commit | 368e0f3757e27e6baac22a0961f491e9c31761bf (patch) | |
| tree | c1a44702ef2b67b6bafa7ed89bebb2baea802821 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 2c082b48274fcba62bf9b3acb63075aedcc7a976 (diff) | |
[clangd] If an undocumented definition exists, don't accept documentation from other forward decls.
Summary:
This fixes cases like:
foo.h
class Undocumented{}
bar.h
// break an include cycle. we should refactor this!
class Undocumented;
Where the comment doesn't describe the class.
Note that a forward decl that is *visible to the definition* will still have
its doc comment used, by SymbolCollector: Merge isn't involved here.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68467
llvm-svn: 373892
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
