[docs] Use make_unique in FrontendAction example
The code example for "RecursiveASTVisitor based ASTFrontendActions" was using unique_ptr<X>(new X) when creating the AST consumer; change it to use make_unique instead. The main function of the same example already used make_unique. Differential Revision: https://reviews.llvm.org/D93185
Loading
Please register or sign in to comment