This seemed odd to me while looking at the tests.
Note that I couldn't make the tests fail when providing (other) invalid values for the --stdlib parameter here anyway, but c++ is not used anywhere else as far as I can see.
| Paths 
 |  Differential  D117862  
[clang][tests] Fix a typo in wasm-toolchain.cpp tests ClosedPublic Authored by tbaeder on Jan 21 2022, 12:54 AM. 
Details Summary This seemed odd to me while looking at the tests. Note that I couldn't make the tests fail when providing (other) invalid values for the --stdlib parameter here anyway, but c++ is not used anywhere else as far as I can see. 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jan 21 2022, 9:40 AM Closed by commit rG3ad6de31c0cf: [clang][tests] Fix a c++/libc++ -stdlib value typo (authored by tbaeder).  ·  Explain WhyJan 24 2022, 1:03 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 401888 clang/test/Driver/wasm-toolchain.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||