Overload bitwise operators for TopDUContext::Features

Less casting leads to more readable code.

static_cast<int> inside QCOMPARE in
TestDUChain::testReparseOnDocumentActivated() to make Qt Test print
Actual and Expected values.

Add parentheses in two identical expressions in CMakeParseJob::run() and
QmlJsParseJob::run() to save future readers of the code from looking up
the relative priority in a C++ operator precedence table:
context && (minimumFeatures() & TopDUContext::AllDeclarationsContextsAndUses)

GIT_SILENT
1 job for !169 with overload-features-bitwise-operators in 60 minutes and 9 seconds (queued for 4 minutes and 15 seconds)
detached
Status Job ID Name Coverage
  Build
failed #70055
linux kf5-qt5 qt5.12

01:00:09

45.0%
 
Name Stage Failure
failed
linux kf5-qt5 qt5.12 Build The script exceeded the maximum execution time set for the job
                                              14      10    71%   61,63-65
plugins/welcomepage/welcomepageview.cpp 26 25 96% 65
------------------------------------------------------------------------------
TOTAL 141722 64480 45%
------------------------------------------------------------------------------
Uploading artifacts for successful job
Uploading artifacts...
build: found 16332 matching files and directories

ERROR: Job failed: execution took longer than 1h0m0s seconds