Revert "Fixed 'Bug 17277 - Code analysis having problems with corelib'."

This reverts commit ed8032b1d1c97fd9b057338a53a33fc6e299d8c3.
This commit broke several code completion related tests and turned the
build orange.