[clang-cl] Add -emit-ast to clang-cl driver
commit3f0578dd87ee5539eccae507b6a77cfe3354d705
authorTobias Hieta <tobias.hieta@ubisoft.com>
Mon, 27 Jun 2022 07:27:38 +0000 (27 09:27 +0200)
committerTobias Hieta <tobias@hieta.se>
Tue, 28 Jun 2022 07:11:34 +0000 (28 09:11 +0200)
treeaeb5df44af3187907d03707b1ca3cd1377b24459
parent86866107b89c0515d197ec70292ce776bce5a04b
[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
clang/include/clang/Driver/Options.td
clang/lib/Driver/Driver.cpp
clang/test/Driver/ast.c
clang/test/Driver/cl-outputs.c