================
@@ -71,9 +71,9 @@ and automatic location of the compilation database using
source files paths.
int main(int argc, const char **argv) {
// CommonOptionsParser constructor will parse arguments and create a
// CompilationDatabase. In case of error it will terminate the program.
- CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);
+ auto OptionsParser = CommonOptionsParser::create(argc, argv,
MyToolCategory);
----------------
Sirraide wrote:
Also, `->` needs to be replaced with `.` again below.
https://github.com/llvm/llvm-project/pull/90441
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits