Move some more functionality into the AST consumer creation factory function, before...
authorAaron Ballman <aaron@aaronballman.com>
Wed, 2 Sep 2015 16:04:15 +0000 (16:04 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 2 Sep 2015 16:04:15 +0000 (16:04 +0000)
commit01cee3a7bdf975ceb5b10b684755afd3f65795fd
treef2989ed5980e8d9071ca1466da261fd60b954f3f
parentb33cd908d4f873e2a2bc22121bbf1f3d07e25e5b
Move some more functionality into the AST consumer creation factory function, before registering matchers with the MatchFinder object. This allows us to set the language options for the ClangTidyContext object appropriately so that they can be used from registerMatchers(), and more closely models the way the clang-tidy tool works.

llvm-svn: 246660
clang-tools-extra/unittests/clang-tidy/ClangTidyTest.h