https://bugs.kde.org/show_bug.cgi?id=387181

            Bug ID: 387181
           Summary: parser being started for absent/empty files
           Product: kdevelop
           Version: 5.2.0
          Platform: Compiled Sources
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: rjvber...@gmail.com
  Target Milestone: ---

I just caught this on a calling terminal:

kdevelop.languages.clang: clang_parseTranslationUnit2 return with error code 1
kdevelop.languages.clang:   (start KDevelop with `KDEV_CLANG_DISPLAY_DIAGS=1
kdevelop` to see more diagnostics)
kdevelop.languages.clang: Failed to parse translation unit:
"/path/to/kdevelop5-git/kdevplatform/project/tests/abstractfilemanagerpluginimportbenchmark.cpp"

That's when starting kdevelop with a project for my git working copy of the
KDevelop source tree, and a session I closed with the indicated file open when
I had the master branch checked out. When reopening the project I had the 5.2
branch checked out, in which the file doesn't exist.

The session shows it as a new file which is correct, but apparently it also
tries to feed it to the clang parser, which seems pointless.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to