Skip to content

Commit fe71e29

Browse files
committed
docs: Point architecture citations at the sections that now hold them
1 parent c1fb43a commit fe71e29

27 files changed

Lines changed: 29 additions & 29 deletions

File tree

‎clang/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Clang is the authority for ordinary C++ semantics: parsing, name lookup,
44
# overload resolution, conversions and target layout. This target translates
55
# the facts C++L needs into C++L's own typed representation, and is the only
6-
# place in the project that includes a Clang header (ARCHITECTURE.md 12,
6+
# place in the project that includes a Clang header (ARCHITECTURE.md 11,
77
# AGENTS.md 14).
88
add_library(cppl_clang STATIC
99
src/bridge.cpp)

‎clang/include/cppl/clang/ast.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace cppl::clangbridge {
1818
// Everything here is a *resolved* fact: types are canonical, calls name the
1919
// overload Clang selected, and references name the declaration Clang bound.
2020
// Nothing in this layer is recovered from source text, and no Clang data
21-
// structure or pointer escapes it (ARCHITECTURE.md 12).
21+
// structure or pointer escapes it (ARCHITECTURE.md 11).
2222

2323
enum class TypeKind : std::uint8_t {
2424
Int,

‎compiler/CMakeLists.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
# `source` is added by the top-level CMakeLists because the VIR and the Clang
44
# bridge depend on it and are configured before this directory.
55
#
6-
# Dependency direction (ARCHITECTURE.md 44):
6+
# Dependency direction (ARCHITECTURE.md 95):
77
#
88
# driver -> frontend / clang bridge -> elaboration -> vir
99
# -> obligations -> automation -> kernel
1010
#
1111
# `decomposition` sits beside elaboration on top of the VIR: it states what a
1212
# C++ representation's proof-visible states are, and is consumed by elaboration
13-
# and obligations (ARCHITECTURE.md 44).
13+
# and obligations (ARCHITECTURE.md 47).
1414
#
1515
# `refutation` is the arithmetic refutation search, below both obligations and
1616
# automation and above nothing but the kernel's types. It is untrusted: what it

‎compiler/automation/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Automation is untrusted by construction: it can only hand a proof term to the
44
# kernel, and the kernel decides. Solvers, tactics and search would be added
5-
# here, behind the same boundary (ARCHITECTURE.md 21).
5+
# here, behind the same boundary (ARCHITECTURE.md 54).
66
add_library(cppl_automation STATIC
77
src/arithmetic.cpp
88
src/evidence.cpp

‎compiler/diagnostics/include/cppl/diagnostics/diagnostic.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ enum class Severity : std::uint8_t {
1616

1717
// What kind of failure this is. Categories are structured data: policy,
1818
// tooling and reports consume the category, never the rendered wording
19-
// (ARCHITECTURE.md 38, 40).
19+
// (ARCHITECTURE.md 74, 75).
2020
enum class Category : std::uint8_t {
2121
CpplSyntax, // malformed C++L construct
2222
CppSemantic, // Clang rejected the C++

‎compiler/driver/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# The driver orchestrates stages and owns the exit status. The library holds
44
# the implementation so the command-line tool does not become the compiler
5-
# (ARCHITECTURE.md 43).
5+
# (ARCHITECTURE.md 5).
66
add_library(cppl_driver STATIC
77
src/buffer_compile.cpp
88
src/crash.cpp

‎compiler/driver/include/cppl/driver/buffer_compile.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ struct BufferCompileOutcome {
4343
// Whether the buffer was recognized as containing any C++L syntax at
4444
// all. When false, the buffer is ordinary C++ and was (or would be)
4545
// compiled directly by Clang with no projection involved
46-
// (ARCHITECTURE.md 29).
46+
// (ARCHITECTURE.md 81).
4747
bool has_cppl = false;
4848

4949
// The preprocessed text `tokens` and `syntax` were recognized from. They

‎compiler/driver/include/cppl/driver/options.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ struct Input {
1717
//
1818
// Everything C++L does not own is preserved in order and handed to Clang
1919
// unchanged: include paths, defines, warnings, target flags, optimization,
20-
// linker arguments (ARCHITECTURE.md 50).
20+
// linker arguments (ARCHITECTURE.md 80).
2121
struct Options {
2222
std::vector<std::string> arguments;
2323
std::vector<Input> inputs;

‎compiler/driver/src/driver.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ std::optional<std::string> read_file(const std::filesystem::path& path) {
7272

7373
// The user's command line with the parts that select output and inputs removed,
7474
// so the same configuration can drive preprocessing and semantic analysis.
75-
// Everything that affects C++ meaning is kept (ARCHITECTURE.md 51).
75+
// Everything that affects C++ meaning is kept (ARCHITECTURE.md 80).
7676
std::vector<std::string> base_arguments(const Options& options) {
7777
std::vector<bool> is_input(options.arguments.size(), false);
7878
for (const Input& input : options.inputs) {

‎compiler/driver/src/pipeline.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ PipelineOutcome run_pipeline(const PipelineRequest& request, diagnostics::Engine
6666
}
6767

6868
if (syntax.empty()) {
69-
// Ordinary C++: nothing to verify (ARCHITECTURE.md 29).
69+
// Ordinary C++: nothing to verify (ARCHITECTURE.md 81).
7070
outcome.tokens = std::make_unique<frontend::TokenStream>(stream);
7171
outcome.syntax = std::make_unique<frontend::Syntax>(std::move(syntax));
7272
if (request.check_ordinary_cpp_with_clang) {

0 commit comments

Comments
 (0)