]> granicus.if.org Git - clang/commit
[CrossTU] Fix problem with CrossTU AST load limit and progress messages.
authorBalazs Keri <1.int32@gmail.com>
Mon, 12 Aug 2019 07:15:29 +0000 (07:15 +0000)
committerBalazs Keri <1.int32@gmail.com>
Mon, 12 Aug 2019 07:15:29 +0000 (07:15 +0000)
commit8e613d7a8d21a0c0cc4b604cd7be017f8636ec86
tree0cb769eeca44265990c5429e066ba4aeca657f69
parent107f2083e62fb82427e14c8f535a4b74be1a05c1
[CrossTU] Fix problem with CrossTU AST load limit and progress messages.

Summary:
Number of loaded ASTs is to be incremented only if the AST was really loaded
but not if it was returned from cache. At the same place the message about
a loaded AST is displayed.

Reviewers: martong, gamesh411

Reviewed By: martong

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D66054

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368545 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/CrossTU/CrossTranslationUnit.h
lib/CrossTU/CrossTranslationUnit.cpp