mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Reduce Clang header exposure in check_unit.h (#7509)
Remove clang/Frontend/CompilerInvocation.h from check_unit.h and forward declare clang::CompilerInvocation instead to reduce header exposure. Add an explicit include of CompilerInvocation.h to check_unit.cpp. Assisted-by: Antigravity with Gemini
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
|
||||
#include "clang/Frontend/CompilerInvocation.h"
|
||||
#include "clang/Sema/Sema.h"
|
||||
#include "common/growing_range.h"
|
||||
#include "common/pretty_stack_trace_function.h"
|
||||
|
||||
Reference in New Issue
Block a user