mirror of
https://github.com/MaskRay/ccls.git
synced 2024-12-01 20:07:08 +00:00
13 lines
238 B
C
13 lines
238 B
C
|
#pragma once
|
||
|
|
||
|
#include <clang-c/Index.h>
|
||
|
|
||
|
// Simple RAII wrapper about CXIndex.
|
||
|
class ClangIndex {
|
||
|
public:
|
||
|
ClangIndex();
|
||
|
ClangIndex(int exclude_declarations_from_pch, int display_diagnostics);
|
||
|
~ClangIndex();
|
||
|
CXIndex cx_index;
|
||
|
};
|