Starting to think about toolchain semantic analysis -- create a trivial shell for it. (#1038)

This commit is contained in:
Jon Meow
2022-01-25 11:06:16 -08:00
committed by GitHub
parent 22721da92b
commit b048bb766d
4 changed files with 108 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "toolchain/semantics/semantics.h"
namespace Carbon {
Semantics Semantics::Analyze(const ParseTree& parse_tree,
DiagnosticConsumer& consumer) {
Semantics semantics;
return semantics;
}
} // namespace Carbon