[PATCH] D148029: [Clang] Fix crash caused by line splicing in doc comment
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 11 12:20:53 PDT 2023
aaron.ballman added inline comments.
================
Comment at: clang/include/clang/AST/RawCommentList.h:122
+ StringRef Text = getRawText(SourceMgr);
+ if (Text.size() < 6 || Text[0] != '/')
+ return false;
----------------
Just to double-check, we don't have to worry about there being leading whitespace in `Text` do we?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148029/new/
https://reviews.llvm.org/D148029
More information about the cfe-commits
mailing list