diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-04 21:13:15 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-04 21:13:15 +0000 |
commit | 938963f076418aa61b570e5317240f66642af2df (patch) | |
tree | f4ce2da6486dede8022ced83b8bfd98781206890 /lib/Frontend/InitPreprocessor.cpp | |
parent | 468fe246192c3683360d1a6b1b333d85b8794f77 (diff) |
InitializePreprocessor cannot fail.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/InitPreprocessor.cpp')
-rw-r--r-- | lib/Frontend/InitPreprocessor.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Frontend/InitPreprocessor.cpp b/lib/Frontend/InitPreprocessor.cpp index 3a54d1dca7..7139e55f0b 100644 --- a/lib/Frontend/InitPreprocessor.cpp +++ b/lib/Frontend/InitPreprocessor.cpp @@ -442,7 +442,7 @@ static void InitializePredefinedMacros(const TargetInfo &TI, /// InitializePreprocessor - Initialize the preprocessor getting it and the /// environment ready to process a single file. This returns true on error. /// -bool clang::InitializePreprocessor(Preprocessor &PP, +void clang::InitializePreprocessor(Preprocessor &PP, const PreprocessorInitOptions &InitOpts) { std::vector<char> PredefineBuffer; @@ -488,7 +488,4 @@ bool clang::InitializePreprocessor(Preprocessor &PP, // Null terminate PredefinedBuffer and add it. PredefineBuffer.push_back(0); PP.setPredefines(&PredefineBuffer[0]); - - // Once we've read this, we're done. - return false; } |