summaryrefslogtreecommitdiffstats
path: root/tools/libclang/Index_Internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libclang/Index_Internal.h')
-rw-r--r--tools/libclang/Index_Internal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/libclang/Index_Internal.h b/tools/libclang/Index_Internal.h
index df54d7c..2d42cb8 100644
--- a/tools/libclang/Index_Internal.h
+++ b/tools/libclang/Index_Internal.h
@@ -40,4 +40,16 @@ typedef struct _CXCursorAndRangeVisitorBlock {
#endif // !__has_feature(blocks)
+/// \brief The result of comparing two source ranges.
+enum RangeComparisonResult {
+ /// \brief Either the ranges overlap or one of the ranges is invalid.
+ RangeOverlap,
+
+ /// \brief The first range ends before the second range starts.
+ RangeBefore,
+
+ /// \brief The first range starts after the second range ends.
+ RangeAfter
+};
+
#endif
OpenPOWER on IntegriCloud