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 SmithandChandler Carruth authored and GitHub committed 2025-07-18 16:30:47 +00:00
1 parent bcba76aca7
commit 553dd6e531
20 files changed
+322 -136

No files matched your search

-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.