[all-commits] [llvm/llvm-project] dd471d: [libTooling] Extend `buildASTFromCodeWithArgs` to ...
Yitzhak Mandelbaum via All-commits
all-commits at lists.llvm.org
Tue Nov 19 09:19:25 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: dd471dbe99a7e017357809151df56f2d4c3e7a31
https://github.com/llvm/llvm-project/commit/dd471dbe99a7e017357809151df56f2d4c3e7a31
Author: Yitzhak Mandelbaum <yitzhakm at google.com>
Date: 2019-11-19 (Tue, 19 Nov 2019)
Changed paths:
M clang/include/clang/Tooling/Tooling.h
M clang/lib/Tooling/Tooling.cpp
Log Message:
-----------
[libTooling] Extend `buildASTFromCodeWithArgs` to take files argument.
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.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70175
More information about the All-commits
mailing list