mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-29 11:01:57 +00:00
20 lines
477 B
C++
20 lines
477 B
C++
#ifndef SOURCERANGE_H_
|
|
#define SOURCERANGE_H_
|
|
#include <clang-c/Index.h>
|
|
#include "SourceLocation.h"
|
|
#include <string>
|
|
#include <utility>
|
|
|
|
namespace clang {
|
|
class SourceRange {
|
|
public:
|
|
/*
|
|
SourceRange(const CXSourceRange& cx_range) : cx_range(cx_range) {}
|
|
SourceRange(SourceLocation &start, SourceLocation &end);
|
|
std::pair<clang::Offset, clang::Offset> get_offsets();
|
|
CXSourceRange cx_range;
|
|
*/
|
|
};
|
|
} // namespace clang
|
|
#endif // SOURCERANGE_H_
|