Ensure we don't assume that the TU-file is the file we are working on.

Review Request #122094 - Created Jan. 16, 2015 and submitted

Information
Milian Wolff
kdev-clang
9ab8dc4...
Reviewers
kdevelop
This is done by explicitly requesting a path to be passed to
ParseSession::file and adding ::mainFile with the old logic. This
probably will fix quite some potential issues, e.g. in the signature
assistant or code completion.

Furthermore, we should not triviall be able to share the parse session
between different contexts, if I'm not mistaken.

  
Milian Wolff
Review request changed

Status: Closed (submitted)

Loading...