[all-commits] [llvm/llvm-project] 27f124: [clangd] Add a tweak refactoring to wrap Objectiv...

Alex Lorenz via All-commits all-commits at lists.llvm.org
Wed Dec 4 16:59:12 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 27f124445755a80e048a68d2fabbd2fa6f40a723
      https://github.com/llvm/llvm-project/commit/27f124445755a80e048a68d2fabbd2fa6f40a723
  Author: Alex Lorenz <arphaman at gmail.com>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
    A clang-tools-extra/clangd/refactor/tweaks/ObjCLocalizeStringLiteral.cpp
    M clang-tools-extra/clangd/unittests/TweakTests.cpp

  Log Message:
  -----------
  [clangd]  Add a tweak refactoring to wrap Objective-C string literals in `NSLocalizedString` macros

The commit adds a refactoring to Clangd that mimics the existing refactoring action in Xcode that wraps around an Objective-C string literal in an NSLocalizedString macro.

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




More information about the All-commits mailing list