diff options
author | Kohei Asano <32860920+khei4@users.noreply.github.com> | 2024-04-29 22:14:22 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 22:14:22 +0900 |
commit | de6b2b9dbf9a18e9e160cff60f7eb238909a931c (patch) | |
tree | fe07f782483625f6f3226552a822e797d8464973 /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | 8e17c84836b08be9a23d76c2cc234777712347de (diff) | |
download | llvm-de6b2b9dbf9a18e9e160cff60f7eb238909a931c.zip llvm-de6b2b9dbf9a18e9e160cff60f7eb238909a931c.tar.gz llvm-de6b2b9dbf9a18e9e160cff60f7eb238909a931c.tar.bz2 |
[Clang][Docs] use CommonOptionsParser::create instead of protected constructor on libTooling tutorial (NFC) (#70427)
This patch fixes the code example on CommonOptionParser on
https://intel.github.io/llvm-docs/clang/LibTooling.html
CommonOptionParser's constructor is protected, and we can use
`CommonOptionParser::create` instead of that.
It seems like the LibASTMatcher tutorial already uses that.
https://clang.llvm.org/docs/LibASTMatchersTutorial.html
---------
Co-authored-by: Sirraide <aeternalmail@gmail.com>
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions