logic: getframeworkpaths to compilationdatabase

* getframeworkpaths added
* typename for iterator in cache added(fix)
This commit is contained in:
Andreas Stallinger
2016-02-23 10:38:34 +01:00
parent a7975b4428
commit 0cbf1ad1bb
4 changed files with 50 additions and 7 deletions
@@ -26,10 +26,15 @@ public:
virtual std::vector<std::string> getProjectFiles();
virtual std::vector<std::string> getProjectItems();
virtual std::vector<std::string> getIncludePaths();
std::vector<std::string> getFrameworkPaths();
private:
std::shared_ptr<clang::tooling::JSONCompilationDatabase> m_database;
void parseDatabase();
bool m_parsed;
clang::tooling::JSONCompilationDatabase* getDatabase();
std::vector<std::string> m_searchPaths;
std::vector<std::string> m_frameworkPaths;
std::string getIncludePath(const std::string& argument, const std::string& dir);
};