Changeset View
Changeset View
Standalone View
Standalone View
golangparsejob.cpp
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | |||||
42 | QHash<QString, QString> GoParseJob::canonicalImports; | 42 | QHash<QString, QString> GoParseJob::canonicalImports; | ||
43 | 43 | | |||
44 | GoParseJob::GoParseJob(const KDevelop::IndexedString& url, KDevelop::ILanguageSupport* languageSupport): ParseJob(url, languageSupport) | 44 | GoParseJob::GoParseJob(const KDevelop::IndexedString& url, KDevelop::ILanguageSupport* languageSupport): ParseJob(url, languageSupport) | ||
45 | { | 45 | { | ||
46 | } | 46 | } | ||
47 | 47 | | |||
48 | void GoParseJob::run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread *thread) | 48 | void GoParseJob::run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread *thread) | ||
49 | { | 49 | { | ||
50 | Q_UNUSED(self); | ||||
51 | Q_UNUSED(thread); | ||||
50 | qCDebug(Go) << "GoParseJob succesfully created for document " << document(); | 52 | qCDebug(Go) << "GoParseJob succesfully created for document " << document(); | ||
51 | 53 | | |||
52 | UrlParseLock urlLock(document()); | 54 | UrlParseLock urlLock(document()); | ||
53 | 55 | | |||
54 | if (abortRequested() || !isUpdateRequired(ParseSession::languageString())) { | 56 | if (abortRequested() || !isUpdateRequired(ParseSession::languageString())) { | ||
55 | return; | 57 | return; | ||
56 | } | 58 | } | ||
57 | 59 | | |||
▲ Show 20 Lines • Show All 177 Lines • Show Last 20 Lines |