[clang][cli] Add explicit round-trip test
authorJan Svoboda <jan_svoboda@apple.com>
Tue, 16 Feb 2021 13:41:25 +0000 (14:41 +0100)
committerJan Svoboda <jan_svoboda@apple.com>
Tue, 16 Feb 2021 13:56:26 +0000 (14:56 +0100)
commited86328515888b762277a118773b2f41b106d016
tree30e42f3dfe04f7eafeba7cee986fae27b9a3afe5
parentf64c6260690e57e138468edb6934de036baef29c
[clang][cli] Add explicit round-trip test

This patch adds a test that verifies all `CompilerInvocation` members are filled correctly during command line round-trip.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D96705
clang/unittests/Frontend/CompilerInvocationTest.cpp