[PATCH] D149709: Fix a typo in head comment of CurPPLexer
zhouyizhou via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 2 17:37:35 PDT 2023
zhouyizhou created this revision.
zhouyizhou added reviewers: vsapsai, zequanwu, ChuanqiXu, MaskRay, pengfei.
Herald added a project: All.
zhouyizhou requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
In head comment of CurPPLexer field of class Preprocessor,
'The current top of the stack what we're lexing from' should be
'The current top of the stack that we're lexing from'
Signed-off-by: Zhouyi Zhou <zhouzhouyi at gmail.com>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149709
Files:
clang/include/clang/Lex/Preprocessor.h
Index: clang/include/clang/Lex/Preprocessor.h
===================================================================
--- clang/include/clang/Lex/Preprocessor.h
+++ clang/include/clang/Lex/Preprocessor.h
@@ -729,7 +729,7 @@
/// Only one of CurLexer, or CurTokenLexer will be non-null.
std::unique_ptr<Lexer> CurLexer;
- /// The current top of the stack what we're lexing from
+ /// The current top of the stack that we're lexing from
/// if not expanding a macro.
///
/// This is an alias for CurLexer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149709.518918.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230503/b3b31bba/attachment.bin>
More information about the cfe-commits
mailing list