[all-commits] [llvm/llvm-project] c5a33b: [clang][modules] Fix CodeGen options that can affe...

Juergen Ributzka via All-commits all-commits at lists.llvm.org
Tue Jan 23 09:31:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5a33befcc328339a84c35f6899ff3f3309399fc
      https://github.com/llvm/llvm-project/commit/c5a33befcc328339a84c35f6899ff3f3309399fc
  Author: Juergen Ributzka <juergen at ributzka.de>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/lib/Basic/CodeGenOptions.cpp
    M clang/test/ClangScanDeps/strip-codegen-args.m

  Log Message:
  -----------
  [clang][modules] Fix CodeGen options that can affect the AST. (#78816)

`OptimizationLevel` and `OptimizeSize` can affect the generated AST. They indirectly affect the `Optimize` and `OptimizeSize` frontend options, which in turn set predefined macro definitions.

This fixes rdar://121228252.




More information about the All-commits mailing list