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

            Bug ID: 360511
           Summary: clang-parser utility doesn't get standard include
                    files
           Product: kdevelop
           Version: git master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: [email protected]
          Reporter: [email protected]

When running the "clang-parser" utility in kdevelop/language/clang/tests, the
include directories are not passed in. Thus, #include <utility> for example
causes the parser session to stop.

I hacked it by removing the "nostdinc" from parsersession.cpp, in the "empty
parser session" conditional block, but this might have undesirable
consequences.

Reproducible: Always

Steps to Reproduce:
Write a simple C++ source with "#include <type_traits>" for example.
A clang-parser execution should provide the "file not found" diagnostic.

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

Reply via email to