[PATCH] D126694: [C++20][Modules] Initial implementation of GMF decl elision.
Chuanqi Xu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 31 19:47:34 PDT 2022
ChuanqiXu added inline comments.
================
Comment at: clang/test/CXX/basic/basic.scope/basic.scope.namespace/p2.cpp:32
void test_early() {
- in_header = 1; // expected-error {{missing '#include "foo.h"'; 'in_header' must be declared before it is used}}
- // expected-note@*{{not visible}}
+ in_header = 1; // expected-error {{use of undeclared identifier 'in_header'}}
----------------
This error message looks worse. I image I could hear users complaining this. (I doesn't say it is your fault since this is specified in standard and the standard cases are harder to understand). I want to know if this is consistent with GCC?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126694/new/
https://reviews.llvm.org/D126694
More information about the cfe-commits
mailing list