From 7632d19ada4a1feebc4a06067490ee1c77cd4dc1 Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Wed, 5 Jan 2022 15:50:07 +0100 Subject: [PATCH] [clangd] Fix typos in the SelectionTree comment. --- clang-tools-extra/clangd/Selection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang-tools-extra/clangd/Selection.cpp b/clang-tools-extra/clangd/Selection.cpp index c7a3aacf0f1e..ef964da7b28d 100644 --- a/clang-tools-extra/clangd/Selection.cpp +++ b/clang-tools-extra/clangd/Selection.cpp @@ -742,7 +742,7 @@ private: // // Example: // Vec(*[2])(A)> is a Vec of arrays of pointers to functions, - // which accept A and return R. + // which accept A and return R. // The TypeLoc hierarchy: // Vec(*[2])(A)> m; // Vec<---------------------> TemplateSpecialization Vec @@ -753,7 +753,7 @@ private: // R<---> |-TemplateSpecialization R // int | `-Builtin int // A<----> `-TemplateSpecialization A - // char `-Builtin int + // char `-Builtin char // // In each row, --- represents unclaimed parts of the SourceRange. // For declarator types, we are careful never to claim these.