Greatly improve include-path completion performance

Authored by skalinichev.

Description

Greatly improve include-path completion performance

Clang reparses a document and regenerates PCH internally when editing
file's preamble. This is very slow. So instead of locking ParseSession
to prevent concurrent access to CXTranslationUnit (which include-path
completion doesn't use), let's make ClangParsingEnvironment directly
accessible through the session data.

REVIEW: 124249

Details

Committed
skalinichevJul 14 2015, 8:36 AM
Parents
R32:875b2ada47de: Prevent accidental casts between QString and QByteArray/const char*.
Branches
Unknown
Tags
Unknown