[all-commits] [llvm/llvm-project] c92cf3: [clang-tidy][libc] Ignore implicit function inline...

michaelrj-google via All-commits all-commits at lists.llvm.org
Fri Nov 3 14:57:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c92cf315c67edaffea1c4f3a914197dce2a194f3
      https://github.com/llvm/llvm-project/commit/c92cf315c67edaffea1c4f3a914197dce2a194f3
  Author: michaelrj-google <71531609+michaelrj-google at users.noreply.github.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/llvmlibc/InlineFunctionDeclCheck.cpp
    M clang-tools-extra/clang-tidy/llvmlibc/InlineFunctionDeclCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/llvmlibc/inline-function-decl.rst
    M clang-tools-extra/test/clang-tidy/checkers/llvmlibc/inline-function-decl.hpp

  Log Message:
  -----------
  [clang-tidy][libc] Ignore implicit function inline (#71095)

This patch adjusts the inline function decl check for LLVM libc to
ignore implicit functions. For the moment the plan is to ignore these
and mark the class with a macro so that it can be given the appropriate
properties without explicitly defining all its ctors/dtors.




More information about the All-commits mailing list