You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
699 B

11 years ago
#ifndef CODECOMPLETERESULTS_H_
#define CODECOMPLETERESULTS_H_
#include <clang-c/Index.h>
#include <map>
#include <string>
#include "CompletionString.h"
11 years ago
namespace clang {
class CodeCompleteResults {
11 years ago
friend class TranslationUnit;
CodeCompleteResults(CXTranslationUnit &cx_tu, const std::string &file_name,
11 years ago
const std::map<std::string, std::string> &buffers,
11 years ago
unsigned line_num, unsigned column);
public:
~CodeCompleteResults();
CompletionString get(unsigned index) const;
unsigned size() const;
std::string get_usr() const;
11 years ago
CXCodeCompleteResults *cx_results;
11 years ago
};
} // namespace clang
#endif // CODECOMPLETERESULTS_H_