mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-27 10:02:03 +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;
|
|
};
|