llvm-project
fbc198c5 - [clang] Add test for CWG192 "Name lookup in parameters" (#121679)

Commit
266 days ago
[clang] Add test for CWG192 "Name lookup in parameters" (#121679) This patch adds a rather simple test for [CWG192](https://cplusplus.github.io/CWG/issues/192.html). Parameter declarations of member functions are not complete-class contexts (unlike default arguments), so the example in the issue is ill-formed. Changes in [CWG1352](https://cplusplus.github.io/CWG/issues/1352.html) which resolved the issue, are superseded by the notion of complete-class context (https://eel.is/c++draft/class.mem#def:complete-class_context).
Author
Parents
Loading