diff options
author | Chris Lattner <sabre@nondot.org> | 2007-10-17 20:53:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-10-17 20:53:57 +0000 |
commit | 2b65a9ddab80e3951ae0c8444c27be0e8fa05d86 (patch) | |
tree | dfe0ad09861b07d2ac1c69ad6588e7097530e319 /Driver/clang.cpp | |
parent | 168ae2d44a443da75ea85db5f3b5081eb0bce113 (diff) |
wean the diagnostics machinery off the preprocessor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43085 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r-- | Driver/clang.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 082f5ed074..6e0ed914e2 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -908,7 +908,6 @@ int main(int argc, char **argv) { for (unsigned i = 0, e = InputFilenames.size(); i != e; ++i) { // Set up the preprocessor with these options. Preprocessor PP(Diags, LangInfo, *Target, SourceMgr, HeaderInfo); - DiagClient->setPreprocessor(PP); const std::string &InFile = InputFilenames[i]; std::vector<char> PredefineBuffer; unsigned MainFileID = InitializePreprocessor(PP, InFile, SourceMgr, |