diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2022-07-04 12:52:08 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2022-10-30 20:47:12 +0100 |
commit | 0629cce2939017a66101f94976a70743cfe0eb6c (patch) | |
tree | 37c07560913ba1f22bb757d378bbc274a6bc97bc /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 366534f1756ba9bf711771ab845aa4b27dd785c8 (diff) | |
download | llvm-0629cce2939017a66101f94976a70743cfe0eb6c.zip llvm-0629cce2939017a66101f94976a70743cfe0eb6c.tar.gz llvm-0629cce2939017a66101f94976a70743cfe0eb6c.tar.bz2 |
ManagedStatic: remove from DebugCounter
[Re-submit after earlier revert due to a test failure. Commit dce78646f07
("clang-tblgen build: avoid duplicate inclusion of libLLVMSupport")
is believe to address the root cause of the test failure.]
Follow the pattern used in MLIR for the cl::opt instances.
v2:
- make DebugCounter::isCountingEnabled public so that the
DebugCounterOwner doesn't have to be a nested class. This simplifies
later changes
v3:
- remove the indirection via DebugCounterOwner::instance()
Differential Revision: https://reviews.llvm.org/D129116
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions