[PATCH] D98275: [clang-tidy] Fix mpi checks when running multiple TUs per clang-tidy process
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 24 12:07:46 PDT 2021
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM, thanks!
================
Comment at: clang-tools-extra/clang-tidy/mpi/BufferDerefCheck.cpp:29-30
+ if (!FuncClassifier)
+ FuncClassifier.emplace(*Result.Context);
+
----------------
This is racy, but I don't think we support running multiple checks in parallel, do we?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98275/new/
https://reviews.llvm.org/D98275
More information about the cfe-commits
mailing list