mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Initial support for where expressions. (#1310)
Build constraint types from `where` expressions. This is very bare-bones; there's no support for constraining `.Self` or associated types yet, but degenerate cases not involving self-reference work. `==` constraints are syntactically supported but not semantically verified yet, and they aren't used for anything.
This commit is contained in:
@@ -45,7 +45,7 @@ class AstNode {
|
||||
|
||||
// Print the AST rooted at the node.
|
||||
virtual void Print(llvm::raw_ostream& out) const = 0;
|
||||
// Print identifying information about the node, such as it's name.
|
||||
// Print identifying information about the node, such as its name.
|
||||
virtual void PrintID(llvm::raw_ostream& out) const = 0;
|
||||
LLVM_DUMP_METHOD void Dump() const { Print(llvm::errs()); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user