This is an archive of the discontinued LLVM Phabricator instance.

[libTooling] Extend `buildASTFromCodeWithArgs` to take files argument.
ClosedPublic

Authored by ymandel on Nov 13 2019, 6:08 AM.

Details

Summary

Adds an optional parameter to buildASTFromCodeWithArgs that allows the user to
pass additional files that the main code needs to compile. This change makes
buildASTFromCodeWithArgs consistent with runToolOnCodeWithArgs.

Patch by Alexey Eremin.

Diff Detail

Event Timeline

ymandel created this revision.Nov 13 2019, 6:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 13 2019, 6:08 AM

gentle ping...

gribozavr2 accepted this revision.Nov 19 2019, 8:21 AM
This revision is now accepted and ready to land.Nov 19 2019, 8:21 AM
This revision was automatically updated to reflect the committed changes.