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 | 181aaee16501f1ffabda0775b2d5f2d7a3595ccc (patch) | |
tree | 67cae8720d9a7d85e188b24c4d949073f7037d00 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | b27ec09a7e3f391ec763801d14d0732dcc75a216 (diff) | |
download | bcm5719-llvm-181aaee16501f1ffabda0775b2d5f2d7a3595ccc.tar.gz bcm5719-llvm-181aaee16501f1ffabda0775b2d5f2d7a3595ccc.zip |
InitializePreprocessor cannot fail.
llvm-svn: 86048
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
-rw-r--r-- | clang/lib/Frontend/InitPreprocessor.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/Frontend/InitPreprocessor.cpp b/clang/lib/Frontend/InitPreprocessor.cpp index 3a54d1dca78..7139e55f0b6 100644 --- a/clang/lib/Frontend/InitPreprocessor.cpp +++ b/clang/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; } |