]> granicus.if.org Git - clang/commit
Introduce the notion of a SemaConsumer, which is an ASTConsumer that
authorDouglas Gregor <dgregor@apple.com>
Mon, 20 Apr 2009 15:53:59 +0000 (15:53 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 20 Apr 2009 15:53:59 +0000 (15:53 +0000)
commite7785040107266d01ebdcc066365f70b7ace371f
treefa7201b641213c1415b1e35f710339cce4666bd6
parent53c9d8a4b8f0a76cb9dd2fdd8c433ccf110f2eec
Introduce the notion of a SemaConsumer, which is an ASTConsumer that
also gets access to the Sema object performing semantic analysis. This
will be used by the PCH writer to serialize Sema state.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69595 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTConsumer.h
include/clang/Frontend/PCHWriter.h
include/clang/Sema/SemaConsumer.h [new file with mode: 0644]
lib/Frontend/PCHWriter.cpp
lib/Sema/ParseAST.cpp
tools/clang-cc/GeneratePCH.cpp