[all-commits] [llvm/llvm-project] 24bd47: [analyzer][NFC] Inline AnalyzerOptions::getUserMode()

Balazs Benics via All-commits all-commits at lists.llvm.org
Tue Jun 14 00:43:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24bd47dc172f5dc81de7baac880c55b1e615fa70
      https://github.com/llvm/llvm-project/commit/24bd47dc172f5dc81de7baac880c55b1e615fa70
  Author: Balazs Benics <balazs.benics at sigmatechnology.se>
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
    M clang/lib/Frontend/CompilerInvocation.cpp

  Log Message:
  -----------
  [analyzer][NFC] Inline AnalyzerOptions::getUserMode()

When I read the code I found it easier to reason about if `getUserMode`
is inlined. It might be a personal preference though.

Reviewed By: martong

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




More information about the All-commits mailing list