Commit Graph

56 Commits

Author SHA1 Message Date
Doug Gregor
a9ee5dd142 [Macros] Don't allow local names to shadow macro names. 2022-11-28 18:33:10 -08:00
Doug Gregor
1a10009cae [Macro] Diagnose macros declared in nested scopes 2022-11-28 18:33:10 -08:00
Doug Gregor
ab9608cd78 [Macros] Add tests for redeclarations of macros 2022-11-28 18:33:10 -08:00
Doug Gregor
e2c66cb67d [Macros] Check access control and availability 2022-11-28 18:33:10 -08:00
Doug Gregor
4f823c60be [Macros] Ensure that macros cannot return opaque result types 2022-11-28 18:33:10 -08:00
Doug Gregor
3c80b714bf [Macros] Fix end location of macro declarations with where clauses 2022-11-28 18:33:10 -08:00