Re: clang-tidy unit tests

2015-09-02 Thread Aaron Ballman via cfe-commits
On Wed, Sep 2, 2015 at 10:44 AM, Alexander Kornienko wrote: > Looks like we need to call both ClangTidyContext::setASTContext, > ClangTidyCheck::registerMatchers and ClangTidyContext::setCurrentFile in > TestClangTidyAction::CreateASTConsumer. Maybe something else will need to > move there as well

Re: clang-tidy unit tests

2015-09-02 Thread Alexander Kornienko via cfe-commits
Looks like we need to call both ClangTidyContext::setASTContext, ClangTidyCheck::registerMatchers and ClangTidyContext::setCurrentFile in TestClangTidyAction::CreateASTConsumer. Maybe something else will need to move there as well. -- Alex On Wed, Sep 2, 2015 at 4:09 PM, Aaron Ballman wrote: >