[all-commits] [llvm/llvm-project] 8439ae: [Clang] Refactor getOptimizationLevel and getOptim...

Jim Lin via All-commits all-commits at lists.llvm.org
Thu Nov 20 17:16:01 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8439aebd3dd3e9d0586d44f0e8a68bba86785ae6
      https://github.com/llvm/llvm-project/commit/8439aebd3dd3e9d0586d44f0e8a68bba86785ae6
  Author: Jim Lin <jim at andestech.com>
  Date:   2025-11-21 (Fri, 21 Nov 2025)

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

  Log Message:
  -----------
  [Clang] Refactor getOptimizationLevel and getOptimizationLevelSize to non-static. NFC. (#168839)

So that we can reuse these functions in few place, such as in
clang/lib/Driver/ToolChains/CommonArgs.cpp. Part of the code there is
currently copied from getOptimizationLevel.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list