[all-commits] [llvm/llvm-project] 3f0578: [clang-cl] Add -emit-ast to clang-cl driver

Tobias Hieta via All-commits all-commits at lists.llvm.org
Tue Jun 28 00:11:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f0578dd87ee5539eccae507b6a77cfe3354d705
      https://github.com/llvm/llvm-project/commit/3f0578dd87ee5539eccae507b6a77cfe3354d705
  Author: Tobias Hieta <tobias.hieta at ubisoft.com>
  Date:   2022-06-28 (Tue, 28 Jun 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/ast.c
    M clang/test/Driver/cl-outputs.c

  Log Message:
  -----------
  [clang-cl] Add -emit-ast to clang-cl driver

Also make the output of -emit-ast end up where /o points.
The same with .plist files from the static analyzer.

These are changes needed to make it possible to do CTU static
analysing work with clang-cl.

Reviewed By: hans

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




More information about the All-commits mailing list