[clang] 396bbae - [libTooling][NFC]Fix typo in comment in RangeSelectors

Yitzhak Mandelbaum via cfe-commits cfe-commits at lists.llvm.org
Thu May 21 13:13:40 PDT 2020


Author: Yitzhak Mandelbaum
Date: 2020-05-21T16:13:02-04:00
New Revision: 396bbae41604637008bd5102e1d02d4543f1c3c9

URL: https://github.com/llvm/llvm-project/commit/396bbae41604637008bd5102e1d02d4543f1c3c9
DIFF: https://github.com/llvm/llvm-project/commit/396bbae41604637008bd5102e1d02d4543f1c3c9.diff

LOG: [libTooling][NFC]Fix typo in comment in RangeSelectors
Fixes transposed names in comment.

Added: 
    

Modified: 
    clang/include/clang/Tooling/Transformer/RangeSelector.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Tooling/Transformer/RangeSelector.h b/clang/include/clang/Tooling/Transformer/RangeSelector.h
index 9f556d206321..eaab3fc4c0c7 100644
--- a/clang/include/clang/Tooling/Transformer/RangeSelector.h
+++ b/clang/include/clang/Tooling/Transformer/RangeSelector.h
@@ -43,7 +43,7 @@ RangeSelector before(RangeSelector Selector);
 /// Selects the the point immediately following \p Selector. That is, the
 /// (empty) range [E,E), when \p Selector selects either
 /// * the CharRange [B,E) or
-/// * the TokenRange [B,E'] where the token at E' spans the range [E,E').
+/// * the TokenRange [B,E'] where the token at E' spans the range [E',E).
 RangeSelector after(RangeSelector Selector);
 
 /// Selects a node, including trailing semicolon (for non-expression


        


More information about the cfe-commits mailing list