This increases the coverage for things that differ between Linux and Windows, such as -fdelayed-template-parsing. This would have prevented the rollback of https://reviews.llvm.org/D76346.
While at it, update -std=c++11 to c++17 for the test.
Paths
| Differential D76433
[Syntax] Test both the default and windows target platforms in unittests ClosedPublic Authored by hlopko on Mar 19 2020, 8:21 AM.
Details Summary This increases the coverage for things that differ between Linux and Windows, such as -fdelayed-template-parsing. This would have prevented the rollback of https://reviews.llvm.org/D76346. While at it, update -std=c++11 to c++17 for the test.
Diff Detail
Event TimelineComment Actions Refactored to run tests on both default and windows platforms. Opting out Templates test for now since it doesn't work with -fdelayed-template-parsing yet. hlopko retitled this revision from [Syntax] Make TreeTest independent from the host platform. to [Syntax] Test both the default and windows target platforms in unittests.Mar 20 2020, 2:29 AM gribozavr2 added inline comments.
This revision is now accepted and ready to land.Mar 20 2020, 2:39 AM Closed by commit rGfd7300f717c1: [Syntax] Test both the default and windows target platforms in unittests (authored by hlopko, committed by gribozavr). · Explain WhyMar 20 2020, 3:46 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 251597 clang/unittests/Tooling/Syntax/TreeTest.cpp
|
Maybe upgrade that to C++17? I hope this is where the world is moving.