This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Refactor ObjC tests
AbandonedPublic

Authored by jolesiak on Feb 13 2018, 3:54 AM.

Details

Summary

Simplifies ObjC style tests.

Test Plan: make -j12 FormatTests && tools/clang/unittests/Format/FormatTests --gtest_filter=FormatTestObjCStyle*

Diff Detail

Event Timeline

jolesiak created this revision.Feb 13 2018, 3:54 AM
jolesiak edited the summary of this revision. (Show Details)Feb 13 2018, 3:57 AM
jolesiak added reviewers: benhamilton, krasimir.

I don't believe this is needed: test fails before would fail at the line where test instance is checked, and after they will fail at the checkLanguage function.

jolesiak abandoned this revision.Feb 13 2018, 6:35 AM

I don't believe this is needed: test fails before would fail at the line where test instance is checked, and after they will fail at the checkLanguage function.

Thank you for the comment!
That's a valid argument. I'm reverting as a macro is a no go.