MCPcopy Create free account
hub / github.com/KDE/kdevelop / ~ClangSupport

Method ~ClangSupport

plugins/clang/clangsupport.cpp:204–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204ClangSupport::~ClangSupport()
205{
206 parseLock()->lockForWrite();
207 // By locking the parse-mutexes, we make sure that parse jobs get a chance to finish in a good state
208 parseLock()->unlock();
209
210 const auto& mimeTypes = DocumentFinderHelpers::mimeTypesList();
211 for (const auto& type : mimeTypes) {
212 KDevelop::IBuddyDocumentFinder::removeFinder(type);
213 }
214
215 ClangIntegration::DUChainUtils::unregisterDUChainItems();
216}
217
218KDevelop::ConfigPage* ClangSupport::configPage(int number, QWidget* parent)
219{

Callers

nothing calls this directly

Calls 4

mimeTypesListFunction · 0.85
unregisterDUChainItemsFunction · 0.85
lockForWriteMethod · 0.80
unlockMethod · 0.45

Tested by

no test coverage detected