This is an archive of the discontinued LLVM Phabricator instance.

[update_cc_test_checks.py] Handle extern "C" and namespaces
ClosedPublic

Authored by arichardson on Nov 18 2019, 4:14 AM.

Details

Summary

My change to use the clang AST JSON dump did not handle functions declared
inside scopes other than the root TranslationUnitDecl. After this change
update_cc_test_checks.py also works for C++ test cases that use extern "C"
and namespaces.

Diff Detail

Event Timeline

arichardson created this revision.Nov 18 2019, 4:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 18 2019, 4:14 AM
MaskRay accepted this revision.Nov 26 2019, 10:29 AM
This revision is now accepted and ready to land.Nov 26 2019, 10:29 AM
This revision was automatically updated to reflect the committed changes.