Dana Jansens
|
c38e723dd8
Rename singleton InstId constants to TypeInstId (#5323)
|
1 year ago |
Jon Ross-Perkins
|
4923445e3a
Drop `Singleton` from `ErrorInst::SingletonInstId` and similar (#5304)
|
1 year ago |
Jon Ross-Perkins
|
832c6398d6
Reduce explicit SemIR::LocIdAndInst construction (#5153)
|
1 year ago |
Boaz Brickner
|
6a99c4e970
When diagnosing a duplicated name, add the name to the diagnosis (#4902)
|
1 year ago |
Boaz Brickner
|
4a93b6667e
Add the used name to the `NameUseBeforeDecl` diagnostic (#4901)
|
1 year ago |
Jon Ross-Perkins
|
311b4ff03d
Refactor AddInst-family functions to their own file (#4941)
|
1 year ago |
Boaz Brickner
|
dd7c64bad0
When diagnosing a duplicate name, point to the name instead of the instruction (#4953)
|
1 year ago |
Jon Ross-Perkins
|
dc8f47e6ad
Move type functions off Context (#4951)
|
1 year ago |
Jon Ross-Perkins
|
e70f9cd71d
Move diagnostic helpers from Context to other files (#4949)
|
1 year ago |
Boaz Brickner
|
1aa6573d4e
When diagnosing poisoned name, point to the declared name instead of the entire declaration (#4938)
|
1 year ago |
Boaz Brickner
|
c67920e631
When diagnosing name used before declared, set the location of the usage (#4860)
|
1 year ago |
Boaz Brickner
|
f4e19f4390
Change `DeclNameStack::LookupOrAddName()` to return `SemIR::ScopeLookupResult` instead of a `pair` (#4852)
|
1 year ago |
Jon Ross-Perkins
|
6b5eb1a101
Id::Invalid -> Id::None (#4834)
|
1 year ago |
Geoff Romer
|
4f10735751
Track params in the parser (#4777)
|
1 year ago |
Richard Smith
|
d42128ef9a
Parse all kinds of declarations at function scope. (#4779)
|
1 year ago |
Boaz Brickner
|
74395ce693
Change name poisoning implementation to allow better diagnostics (#4764)
|
1 year ago |
Boaz Brickner
|
9c8773da1b
Basic name poisoning support (#4654)
|
1 year ago |
Boaz Brickner
|
daba2c72cf
[NFC] Convert NameScope from struct to class (#4623)
|
1 year ago |
Jon Ross-Perkins
|
1cba3328f7
Finish removing BuiltinInstKind (#4637)
|
1 year ago |
Geoff Romer
|
dc32aa2690
Initial support for binding patterns in SemIR (#4221)
|
1 year ago |
Jon Ross-Perkins
|
bed5fdcbbe
Fix indirect import handling for functions. (#4258)
|
1 year ago |
Jon Ross-Perkins
|
fbb1cd36c0
Only produce a name scope for a namespace when not merged (#4168)
|
1 year ago |
Jon Ross-Perkins
|
99696b9812
Rename check handlers to HandleParseNode overloads. (#4121)
|
1 year ago |
Jon Ross-Perkins
|
a81d67c629
Rename Builtin to BuiltinInst, particularly to get BuiltinInstKind (#4115)
|
1 year ago |
Jon Ross-Perkins
|
807a3f1370
Add namespace-scoped private keyword support. (#4026)
|
1 year ago |
Jon Ross-Perkins
|
d1862e829b
Add a macro for introducer tokens. (#4031)
|
1 year ago |
Richard Smith
|
7792e5fce3
Support out-of-line definitions of members of generic classes and interfaces. (#4029)
|
1 year ago |
Jon Ross-Perkins
|
0ffa5bf659
For modifiers, get the TokenKind from DeclKind instead of argument. (#4028)
|
1 year ago |
Jon Ross-Perkins
|
a910eda020
Switch decl_state to an arg for modifier functions (#4027)
|
1 year ago |
Chandler Carruth
|
8c64f0bfdd
Add `-Wmissing-prototypes` and fix issues it finds. (#4019)
|
1 year ago |