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

This commit is contained in:
Jon Meow authored and GitHub committed 2022-01-25 11:06:16 -08:00
1 parent 22721da92b
commit b048bb766d
4 files changed
+108

No files matched your search

+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