[all-commits] [llvm/llvm-project] ea8e5b: [NFC] Remove duplicate isNoBuiltinFunc method

serge-sans-paille via All-commits all-commits at lists.llvm.org
Wed Mar 10 00:19:25 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea8e5b87acba4b7dad749d697a3969901652b97a
      https://github.com/llvm/llvm-project/commit/ea8e5b87acba4b7dad749d697a3969901652b97a
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/lib/Basic/CodeGenOptions.cpp
    M clang/lib/CodeGen/CGCall.cpp

  Log Message:
  -----------
  [NFC] Remove duplicate isNoBuiltinFunc method

It's available both in CodeGenOptions and in LangOptions, and LangOptions
implementation is slightly better as it uses a StringRef instead of a char
pointer, so use it.

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




More information about the All-commits mailing list