llvm-project/clang/test/Index/Core
Jan Svoboda 20fa87c7e8 [clang][modules][deps] Preserve module map load order
In `ASTWriter`, input files are sorted based on whether they are system or user. The current implementation used single `std::queue` with `push_back` and `push_front`. This resulted in the user files being reversed.

This patch fixes that by keeping the system/user distinction, but otherwise serializing files in the order they were loaded by the `SourceManager`. This is then used in the dependency scanner to report module map dependencies in the correct order.

Depends on D134224.

Reviewed By: Bigcheese

Differential Revision: https://reviews.llvm.org/D134248
2022-09-22 12:54:51 -07:00
..
Inputs
designated-inits.c
external-source-symbol-attr.m
index-dependent-source.cpp [clang][index] Index unresolved member expression as reference 2022-08-19 19:02:42 +03:00
index-instantiated-source.cpp
index-macros.c
index-pch.c Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
index-pch.cpp
index-source-invalid-name.cpp
index-source.cpp
index-source.m [clang] RecursiveASTVisitor visits ObjCPropertyRefExpr's class receiver 2021-06-01 14:45:25 -04:00
index-source.mm
index-subkinds.m
index-system.mm
index-with-module.m [clang][modules][deps] Preserve module map load order 2022-09-22 12:54:51 -07:00
no-templated-canonical-decl.cpp