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
617 B
24 lines
617 B
|
11 years ago
|
#ifndef CODECOMPLETERESULTS_H_
|
||
|
|
#define CODECOMPLETERESULTS_H_
|
||
|
|
#include <clang-c/Index.h>
|
||
|
|
#include "TranslationUnit.h"
|
||
|
|
|
||
|
|
namespace clang {
|
||
|
|
class CompletionString;
|
||
|
|
|
||
|
|
class CodeCompleteResults {
|
||
|
|
public:
|
||
|
|
CodeCompleteResults(TranslationUnit *tu,
|
||
|
|
const std::string &file_name,
|
||
|
|
const std::map<std::string, std::string> &buffers,
|
||
|
|
int line_num,
|
||
|
|
int column);
|
||
|
|
CompletionString get(int index);
|
||
|
|
int size();
|
||
|
|
|
||
|
|
private:
|
||
|
|
CXCodeCompleteResults *results_;
|
||
|
|
};
|
||
|
|
} // namespace clang
|
||
|
|
#endif // CODECOMPLETERESULTS_H_
|