https://bugs.kde.org/show_bug.cgi?id=373973
Bug ID: 373973 Summary: Kdevelop clang parser has many issues Product: kdevelop Version: 5.0.3 Platform: Fedora RPMs OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Language Support: CPP (Clang-based) Assignee: kdevelop-bugs-n...@kde.org Reporter: tedfed...@gmail.com Target Milestone: --- I have spent a lot of time playing with the Kdevelop configuration for the C++ parser. However I cannot get the clang parser to work with STL header (for example). I am not using c++11 but even with the default settings of std=c++11, the STL headers are not fully recognized. If I explicitly include a path to find /usr/include/c++/6.2.1 then the STL headers are found, but typedefs are not recognized. Simple example. #include <string> using namespace std; string myString; This is what the parser will show for string. typedef int string Container: std Kind: Typedef Decl.: stringfwd.h :74 Show uses It does not seem to find the real typedef which should be: typedef basic_string<char> string; My guess is that the clang parser is not going deep enough to resolve these types. It appears it gives up and the uses the default type of int for anything it doesn't know. What are the correct settings to get the clang parser to work? I have spent hours on trying to find a solution to no avail. -- You are receiving this mail because: You are watching all bug changes.