#ifndef CODECOMPLETERESULTS_H_ #define CODECOMPLETERESULTS_H_ #include #include "TranslationUnit.h" namespace clang { class CompletionString; class CodeCompleteResults { public: CodeCompleteResults(TranslationUnit *tu, const std::string &file_name, const std::map &buffers, int line_num, int column); //TODO: Fix this for older versions of libclang //~CodeCompleteResults() {clang_disposeCodeCompleteResults(results_);} CompletionString get(int index); int size(); private: CXCodeCompleteResults *results_; }; } // namespace clang #endif // CODECOMPLETERESULTS_H_