This is an archive of the discontinued LLVM Phabricator instance.

[libc] Templatize ato* tests
ClosedPublic

Authored by abrachet on Dec 14 2022, 5:32 PM.

Diff Detail

Event Timeline

abrachet created this revision.Dec 14 2022, 5:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2022, 5:32 PM
abrachet requested review of this revision.Dec 14 2022, 5:32 PM
sivachandra accepted this revision.Dec 14 2022, 10:45 PM
sivachandra added inline comments.
libc/test/src/stdlib/CMakeLists.txt
25

I think a more appropriate way would be to add a header library and list it under DEPENDS of these test targets. Same for the Bazel build - the header library can be listed as a cc_library with only hdrs.

This revision is now accepted and ready to land.Dec 14 2022, 10:45 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2022, 9:31 AM