summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/Selection.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clangd/Selection.h')
-rw-r--r--clang-tools-extra/clangd/Selection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/Selection.h b/clang-tools-extra/clangd/Selection.h
index 9bcb9d5fb01..a7050c49be6 100644
--- a/clang-tools-extra/clangd/Selection.h
+++ b/clang-tools-extra/clangd/Selection.h
@@ -76,7 +76,7 @@ public:
unsigned Start, unsigned End);
// Describes to what extent an AST node is covered by the selection.
- enum Selection {
+ enum Selection : unsigned char {
// The AST node owns no characters covered by the selection.
// Note that characters owned by children don't count:
// if (x == 0) scream();
OpenPOWER on IntegriCloud