[clang] e46aa7f - Fix a typo in head comment of `CurPPLexer`.

Volodymyr Sapsai via cfe-commits cfe-commits at lists.llvm.org
Tue May 2 19:50:08 PDT 2023


Author: Zhouyi Zhou
Date: 2023-05-02T19:49:21-07:00
New Revision: e46aa7f927293989dae40817c0087cba9cf5fae7

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

LOG: Fix a typo in head comment of `CurPPLexer`.

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'.

Differential Revision: https://reviews.llvm.org/D149709

Added: 
    

Modified: 
    clang/include/clang/Lex/Preprocessor.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Lex/Preprocessor.h b/clang/include/clang/Lex/Preprocessor.h
index a34a451f4bad1..8bdaf25e9b870 100644
--- a/clang/include/clang/Lex/Preprocessor.h
+++ b/clang/include/clang/Lex/Preprocessor.h
@@ -729,7 +729,7 @@ class Preprocessor {
   /// 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.


        


More information about the cfe-commits mailing list