This allows us to verify that we don't emit options multiple times.
In most cases, that would be benign, but for options with MarshallingInfoVectorString, emitting wrong number of arguments might change the semantics.
Paths
| Differential D93636
[clang][cli] Implement ContainsN Google Test matcher ClosedPublic Authored by jansvoboda11 on Dec 21 2020, 7:17 AM.
Details Summary This allows us to verify that we don't emit options multiple times. In most cases, that would be benign, but for options with MarshallingInfoVectorString, emitting wrong number of arguments might change the semantics.
Diff Detail
Event Timelinejansvoboda11 created this revision.
Comment Actions lgtm. We don't really have anywhere specific to put extra matchers, and we don't want to add stuff to the actual gtest folder so it's easy to merge updates. So this is fine. This revision is now accepted and ready to land.Jan 5 2021, 8:49 AM This revision was landed with ongoing or failed builds.Jan 7 2021, 1:02 AM Closed by commit rGc6ea4d5b2c00: [clang][cli] Implement ContainsN Google Test matcher (authored by jansvoboda11). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 313105 clang/unittests/Frontend/CompilerInvocationTest.cpp
|
clang-format not found in user's PATH; not linting file.