Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Clang][Docs] use CommonOptionsParser::create instead of protected co…
…nstructor 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>
- Loading branch information