Build the clang::CompilerInvocation in the driver. (#5784)

Add driver flags to specify clang driver arguments.

---------

Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
This commit is contained in:
Richard Smith
2025-07-18 16:30:47 +00:00
committed by GitHub
co-authored by Chandler Carruth
parent bcba76aca7
commit 553dd6e531
20 changed files with 322 additions and 136 deletions
-6
View File
@@ -58,12 +58,6 @@ constexpr Kind UntestedKinds[] = {
// conversion cannot fail. This should be covered once we support `ref`
// binding syntax.
Kind::ConversionFailureNonRefToRef,
// TODO: These are temporarily unreachable because we don't pass invalid
// driver options to Clang, but will become reachable once we support
// passing custom Clang arguments.
Kind::CppInteropDriverError,
Kind::CppInteropDriverWarning,
};
// Looks for diagnostic kinds that aren't covered by a file_test.