[all-commits] [llvm/llvm-project] 9ba166: [Sema] Make helper in TreeTransform.h 'inline' ins...

Ilya Biryukov via All-commits all-commits at lists.llvm.org
Mon Nov 4 08:08:43 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ba16615fa07c586965b1fa2dc6e88f13fe8031d
      https://github.com/llvm/llvm-project/commit/9ba16615fa07c586965b1fa2dc6e88f13fe8031d
  Author: Ilya Biryukov <ibiryukov at google.com>
  Date:   2019-11-04 (Mon, 04 Nov 2019)

  Changed paths:
    M clang/lib/Sema/TreeTransform.h

  Log Message:
  -----------
  [Sema] Make helper in TreeTransform.h 'inline' instead of 'static'. NFC

Summary:
There seems to be no evidence that having internal linkage for the function
was intentional. Since 'static' functions are normally used only in .cpp
files, using 'inline' in the header file is more appropriate.

Reviewers: Anastasia

Reviewed By: Anastasia

Subscribers: merge_guards_bot, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list