[all-commits] [llvm/llvm-project] 243bc7: [clang][cli] Accept option spelling as `Twine`

Jan Svoboda via All-commits all-commits at lists.llvm.org
Thu Aug 3 15:10:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 243bc7504965b885c34487f358d2a4b4a355a6b5
      https://github.com/llvm/llvm-project/commit/243bc7504965b885c34487f358d2a4b4a355a6b5
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2023-08-03 (Thu, 03 Aug 2023)

  Changed paths:
    M clang/lib/Frontend/CompilerInvocation.cpp

  Log Message:
  -----------
  [clang][cli] Accept option spelling as `Twine`

This will make it possible to accept the spelling as `StringLiteral` in D157029 and avoid some unnecessary allocations in a later patch.

Reviewed By: benlangmuir

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




More information about the All-commits mailing list