mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-27 01:51:57 +00:00
9 lines
239 B
C++
9 lines
239 B
C++
|
#include "Index.h"
|
||
|
|
||
|
clang::Index::Index(int excludeDeclarationsFromPCH, int displayDiagnostics) {
|
||
|
cx_index = clang_createIndex(excludeDeclarationsFromPCH, displayDiagnostics);
|
||
|
}
|
||
|
|
||
|
clang::Index::~Index() {
|
||
|
clang_disposeIndex(cx_index);
|
||
|
}
|