summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Frontend/ModelInjector.h
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2017-08-14 08:17:24 +0000
committerIlya Biryukov <ibiryukov@google.com>2017-08-14 08:17:24 +0000
commitc5ad35fb23368fef39e4f57d90c35deede9f32e5 (patch)
treed41b9971bef290ed2749d79fe98f52b2d8576564 /clang/lib/StaticAnalyzer/Frontend/ModelInjector.h
parent21b60edb053cabc80492d27740ff1786581102f6 (diff)
downloadbcm5719-llvm-c5ad35fb23368fef39e4f57d90c35deede9f32e5.tar.gz
bcm5719-llvm-c5ad35fb23368fef39e4f57d90c35deede9f32e5.zip
[clangd] Fixed a data race.
Summary: Calling addDocument after removeDocument could have resulted in an invalid program state (AST and Preamble for the valid document could have been incorrectly removed). This commit also includes an improved CppFile::cancelRebuild implementation that allows to cancel reparse without waiting for ongoing rebuild to finish. Reviewers: krasimir, bkramer, klimek Reviewed By: bkramer Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D36397 llvm-svn: 310818
Diffstat (limited to 'clang/lib/StaticAnalyzer/Frontend/ModelInjector.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud