]> granicus.if.org Git - clang/commit
Add a ParseAST overload that takes a Sema object, so that the caller
authorDouglas Gregor <dgregor@apple.com>
Thu, 12 Aug 2010 20:50:39 +0000 (20:50 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 12 Aug 2010 20:50:39 +0000 (20:50 +0000)
commit0eeb81baac6e82b065c0b03ad28ad1e580e78790
treed022a83046c9dbd5b1c5c5df8c5bbd6152b28983
parent192b1464dce385ac1947eb8258c3a0cd4444c726
Add a ParseAST overload that takes a Sema object, so that the caller
can create (and hold on to) the Sema object. Also, move Sema-related
initialization/finalization with its various consumers and external
sources into the Sema constructor and destructor, rather than placing
it in ParseAST.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110952 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/ParseAST.h
include/clang/Sema/Sema.h
lib/Sema/ParseAST.cpp
lib/Sema/Sema.cpp