These 3 tests have dialect-based conditionals, but weren't running Clang with enough different dialects to actually enable those conditional sections.
Details
Diff Detail
Event Timeline
Ping. This is pretty straightforward, the only question is whether we want to preserve these older-dialect tests or rip them out.
I would've assumed these conditionals were added by Sony folks for their change in default dialect - that doesn't necessarily mean these tests are needed upstream (the functionality may be tested elsewhere)
For two of the files, the conditionals were added by Richard Smith, not Sony. For the Sony case, it is the *older* path that was upstream originally, and that is the one that the tests stopped testing; there is no reason to think those paths are tested elsewhere.
Well that may be a tad strong. But I'm reluctant to remove them unless they are demonstrably tested elsewhere, and it's not clear to me how to look.
clang/test/SemaCXX/linkage2.cpp | ||
---|---|---|
3 | Should this one be run in C++98 mode too? (The use of -Wno-c++11-extensions suggests to me that C++98 was expected.) |
clang/test/SemaCXX/linkage2.cpp | ||
---|---|---|
3 | I don't think so; -Wno-c++11-extensions will not suppress diagnostics about GNU extensions. I think GNU++98 is what's wanted here (and is the old default dialect). |
Should this one be run in C++98 mode too? (The use of -Wno-c++11-extensions suggests to me that C++98 was expected.)