commit | 6644d014dd98c8039d7aa1148aada8e2a2fee488 | [log] [tgz] |
---|---|---|
author | Jan Korous <jkorous@apple.com> | Wed Apr 10 20:23:33 2019 +0000 |
committer | Jan Korous <jkorous@apple.com> | Wed Apr 10 20:23:33 2019 +0000 |
tree | f72c07cfaa41511051a6dbd85b4e555de23d681a | |
parent | 827aeb461c227cc5f5fd0e452aa237ae869034bd [diff] |
[clang][ASTContext] Try to exit early before loading serialized comments from AST files Loading external comments is expensive. This change probably doesn't apply to common cases but is almost for free and would save some work in case none of the declaration needs external comments to be loaded. Differential Revision: https://reviews.llvm.org/D60493 llvm-svn: 358133