summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorJan Korous <jkorous@apple.com>2019-05-13 17:52:09 +0000
committerJan Korous <jkorous@apple.com>2019-05-13 17:52:09 +0000
commit1652d814019128e3b2fc8ec7be7a5118d638c46c (patch)
treef877b41e3f8e6123279e983c4bdfe99f9d80ab32 /lldb/source/Commands/CommandObjectProcess.cpp
parent91a9d4ef4b6ee1c8252aec66d5ab65dbf4aff2ca (diff)
downloadbcm5719-llvm-1652d814019128e3b2fc8ec7be7a5118d638c46c.tar.gz
bcm5719-llvm-1652d814019128e3b2fc8ec7be7a5118d638c46c.zip
[clang][ASTContext] Call setAttached for comments attached to a declaration
This is a bug affecting performance when compiling with -Wdocumentation. In Sema::ActOnDocumentable we're checking whether there are any comments unattached to declaration at the end of comment list whenever we encounter new documentable declaration. Since this property of RawComment was never set we were trying to find comments every time and that involves at least a couple expensive SourceLocation decompositions. Differential Revision: https://reviews.llvm.org/D61538 llvm-svn: 360607
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud