[PATCH] D131465: C++/ObjC++: switch to gnu++17 as the default standard

2022-09-09 Thread Aaron H Liu via Phabricator via cfe-commits
AaronLiu added a comment. In D131465#3780767 , @aaron.ballman wrote: > In D131465#3780717 , @AaronLiu > wrote: > >> This cause a large amount failures in our testing with errors such as: >> >> error: ISO C++17

[PATCH] D131465: C++/ObjC++: switch to gnu++17 as the default standard

2022-09-09 Thread Aaron H Liu via Phabricator via cfe-commits
AaronLiu added a comment. This cause a large amount failures in our testing with errors such as: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] Repository: rG LL

[PATCH] D119136: [clang] Implement Change scope of lambda trailing-return-type

2022-04-21 Thread Aaron H Liu via Phabricator via cfe-commits
AaronLiu added a comment. In D119136#3465522 , @cor3ntin wrote: > In D119136#3465361 , @AaronLiu > wrote: > >> When compile the following valid testcase: >> >> void foo() >> { >> int x = [x](int y[s

[PATCH] D119136: [clang] Implement Change scope of lambda trailing-return-type

2022-04-21 Thread Aaron H Liu via Phabricator via cfe-commits
AaronLiu added a comment. When compile the following valid testcase: void foo() { int x = [x](int y[sizeof x]){return sizeof x;}(0); } It will complain: error: captured variable 'x' cannot appear here int x = [x](int y[sizeof x]){return sizeof x;}(0);

[PATCH] D122497: [clang][tests][NFC] Add filescope array initialization test

2022-03-25 Thread Aaron H Liu via Phabricator via cfe-commits
AaronLiu accepted this revision. AaronLiu added a comment. This revision is now accepted and ready to land. LGTM. Thanks! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122497/new/ https://reviews.llvm.org/D122497 __