#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); ~CodeCompleteResults() {clang_disposeCodeCompleteResults(results_);} CompletionString get(int index); int size(); private: CXCodeCompleteResults *results_; }; } // namespace clang #endif // CODECOMPLETERESULTS_H_