[PATCH] D143099: [clang][lex] Expose findBeginningOfLine()
    Corentin Jabot via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Feb  1 23:47:42 PST 2023
    
    
  
cor3ntin accepted this revision.
cor3ntin added a comment.
This revision is now accepted and ready to land.
LGTM except the duplicated comment
================
Comment at: clang/lib/Lex/Lexer.cpp:493-494
 
 /// Returns the pointer that points to the beginning of line that contains
 /// the given offset, or null if the offset if invalid.
+const char *Lexer::findBeginningOfLine(StringRef Buffer, unsigned Offset) {
----------------
Should we remove the comment here?
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143099/new/
https://reviews.llvm.org/D143099
    
    
More information about the cfe-commits
mailing list