mirror of https://gitlab.com/cppit/libclangmm
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
630 B
24 lines
630 B
|
11 years ago
|
#ifndef CODECOMPLETERESULTS_H_
|
||
|
|
#define CODECOMPLETERESULTS_H_
|
||
|
|
#include <clang-c/Index.h>
|
||
|
11 years ago
|
#include <map>
|
||
|
10 years ago
|
#include <string>
|
||
|
8 years ago
|
#include "completion_string.h"
|
||
|
11 years ago
|
|
||
|
9 years ago
|
namespace clangmm {
|
||
|
11 years ago
|
class CodeCompleteResults {
|
||
|
11 years ago
|
friend class TranslationUnit;
|
||
|
10 years ago
|
|
||
|
|
CodeCompleteResults(CXTranslationUnit &cx_tu, const std::string &buffer,
|
||
|
|
unsigned line_num, unsigned column);
|
||
|
11 years ago
|
public:
|
||
|
11 years ago
|
~CodeCompleteResults();
|
||
|
10 years ago
|
CompletionString get(unsigned index) const;
|
||
|
|
unsigned size() const;
|
||
|
|
std::string get_usr() const;
|
||
|
11 years ago
|
|
||
|
11 years ago
|
CXCodeCompleteResults *cx_results;
|
||
|
11 years ago
|
};
|
||
|
9 years ago
|
} // namespace clangmm
|
||
|
11 years ago
|
#endif // CODECOMPLETERESULTS_H_
|