mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-22 22:22:38 +00:00
Support for locations in transitively imported C++ code (#7093)
Instead of treating all C++ code as coming from a single synthetic `CheckIRId`, track the `SemIR::File` associated with each C++ location. This is necessary since each `SemIR::File` has a distinct `CppFile` and therefore distinct `SourceLocation`s and `ClangSourceLocId`s. Assisted-by: Gemini via Antigravity
This commit is contained in:
1 parent
ab12932e56
commit
709776ad1c
20 files changed
+190
-186
No files matched your search
@@ -15,7 +15,7 @@
|
||||
#include "toolchain/check/pattern.h"
|
||||
#include "toolchain/check/pattern_match.h"
|
||||
#include "toolchain/check/type.h"
|
||||
#include "toolchain/sem_ir/absolute_node_id.h"
|
||||
#include "toolchain/sem_ir/absolute_node_ref.h"
|
||||
#include "toolchain/sem_ir/ids.h"
|
||||
|
||||
namespace Carbon::Check {
|
||||
|
||||
Reference in new issue
Block a user