[all-commits] [llvm/llvm-project] 26bbb8: [clang] Implement CompilerInvocation copy assignment

Jan Svoboda via All-commits all-commits at lists.llvm.org
Mon Apr 19 02:12:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26bbb8700bb0ea0ce29e4158e5aa7999ab0d5386
      https://github.com/llvm/llvm-project/commit/26bbb8700bb0ea0ce29e4158e5aa7999ab0d5386
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-04-19 (Mon, 19 Apr 2021)

  Changed paths:
    M clang/include/clang/Frontend/CompilerInvocation.h
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/unittests/Frontend/CompilerInvocationTest.cpp

  Log Message:
  -----------
  [clang] Implement CompilerInvocation copy assignment

This patch implements the copy assignment for `CompilerInvocation`.

Eventually, the deep-copy operation will be moved into a `clone()` method (D100460), but until then, this is necessary for basic ergonomics.

Depends on D100455.

Reviewed By: Bigcheese

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




More information about the All-commits mailing list