aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorVlad Serebrennikov <serebrennikov.vladislav@gmail.com>2024-01-14 02:27:01 +0400
committerGitHub <noreply@github.com>2024-01-14 02:27:01 +0400
commit91b53a2c791c65e17aa80dce7c357ff705d3fd4e (patch)
tree045ee7a5d9adaa90449670cd672717099275d133 /llvm/lib/Support/CommandLine.cpp
parentd8cd55414f79c44065753c38d1b5ad5b91e02df9 (diff)
downloadllvm-91b53a2c791c65e17aa80dce7c357ff705d3fd4e.zip
llvm-91b53a2c791c65e17aa80dce7c357ff705d3fd4e.tar.gz
llvm-91b53a2c791c65e17aa80dce7c357ff705d3fd4e.tar.bz2
[clang] Add tests for DRs about complete-class context (#77444)
[P1787](https://wg21.link/p1787): The intent for CWG2335 (contra those of the older CWG1890, CWG1626, CWG1255, and CWG287) is supported by retaining the unrestricted forward lookup in complete-class contexts (despite current implementation behavior for non-templates). Wording: The declaration set is the result of a single search in the scope of C for N from immediately after the class-specifier of C if P is in a complete-class context of C or from P otherwise. [Drafting note: The plan for CWG2335 is to describe forbidden dependency cycles among the complete-class contexts of a class. — end drafting note] ([class.member.lookup]/4) Complete-class context is described in [class.mem.general] [p7](http://eel.is/c++draft/class#mem.general-7) and [p8](http://eel.is/c++draft/class#mem.general-8). In this patch I add tests only for CWG issues that fall under current definition of complete-class context, because I'm not sure how CWG1255 and CWG287 are going to work. That's why I skip over them, but mark CWG1308 as superseded by CWG1330.
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions