OSDN Git Service

[clang][cli] CompilerInvocationTest: add tests for boolean options
authorJan Svoboda <jan_svoboda@apple.com>
Tue, 8 Dec 2020 11:29:14 +0000 (12:29 +0100)
committerJan Svoboda <jan_svoboda@apple.com>
Wed, 9 Dec 2020 07:58:46 +0000 (08:58 +0100)
commit35621cc2e3b3778abc2bacf37f3b1e9dfac52895
treeecb50ac3981c80525b3c78afeb1c30f4b598a5ef
parent216d43053b4e7327e5f9eb5705a7c8e4f6ae850b
[clang][cli] CompilerInvocationTest: add tests for boolean options

Add more tests of the command line marshalling infrastructure.

The new tests now make a "round-trip": from arguments, to CompilerInvocation instance to arguments again in a single test case.

The TODOs are resolved in a follow-up patch.

Depends on D92830.

Reviewed By: dexonsmith

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