mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-23 08:05:07 +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;
|
|
};
|