[all-commits] [llvm/llvm-project] 23929a: [Windows] Turn off text mode correctly in Rewriter...

Abhina Sree via All-commits all-commits at lists.llvm.org
Tue Apr 6 07:49:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23929af383f27a6ddf23704192a25591481152b3
      https://github.com/llvm/llvm-project/commit/23929af383f27a6ddf23704192a25591481152b3
  Author: Abhina Sreeskantharajan <Abhina.Sreeskantharajan at ibm.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M clang/lib/Frontend/Rewrite/FrontendActions.cpp

  Log Message:
  -----------
  [Windows] Turn off text mode correctly in Rewriter to stop CRLF translation

I incorrectly changed the RewriteTestAction::ExecuteAction's file to binary instead of the proper RewriteIncludesAction::BeginSourceFileAction in https://reviews.llvm.org/rGbc5d4bcc2deb71ab647270c9754a83484b3d6f87. In the original commit, I actually changed RewriteIncludesAction::BeginSourceFileAction in https://reviews.llvm.org/rGfdb640ea30d416368b76b68b106deda580c6aced. This should fix the issue @aganea is facing.

Reviewed By: aganea

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




More information about the All-commits mailing list