[all-commits] [llvm/llvm-project] 40c137: [Frontend] give createInvocationFromCommandLine an...

Sam McCall via All-commits all-commits at lists.llvm.org
Thu May 5 06:12:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40c13720a4b977d4347bbde53c52a4d0703823c2
      https://github.com/llvm/llvm-project/commit/40c13720a4b977d4347bbde53c52a4d0703823c2
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-05-05 (Thu, 05 May 2022)

  Changed paths:
    M clang-tools-extra/clangd/Compiler.cpp
    M clang/include/clang/Frontend/Utils.h
    M clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
    M clang/unittests/Frontend/UtilsTest.cpp

  Log Message:
  -----------
  [Frontend] give createInvocationFromCommandLine an options struct

It's accumulating way too many optional params (see D124970)

While here, improve the name and the documentation.

Differential Revision: https://reviews.llvm.org/D124971




More information about the All-commits mailing list