[all-commits] [llvm/llvm-project] fbf08a: [ObjectiveC] -rewrite-objc was treating inputs as ...

Juan Manuel Martinez Caamaño via All-commits all-commits at lists.llvm.org
Mon May 12 00:50:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fbf08a68b8b292bef0823a401e4e22b60d859d51
      https://github.com/llvm/llvm-project/commit/fbf08a68b8b292bef0823a401e4e22b60d859d51
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2025-05-12 (Mon, 12 May 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/Driver/rewrite-objc-preproc.m

  Log Message:
  -----------
  [ObjectiveC] -rewrite-objc was treating inputs as preprocessed files (#137623)

`-rewrite-objc` passes `-x objective-c++-cpp-output` as input type to
the preprocessor job. This is not correct since we would be
preprocessing a preprocessed file. The correct input type is
`objective-c++`.



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