diff options
author | Alp Toker <alp@nuanti.com> | 2014-05-02 03:43:38 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-05-02 03:43:38 +0000 |
commit | 9663780e3573a5cbd5b631bf5ccd691563c98e24 (patch) | |
tree | c970705470988c9d54e75b0999edeaf1f7df8a39 /clang/unittests/Lex/PPCallbacksTest.cpp | |
parent | 1ae02f68bea80c5114b808455b922667339f4c90 (diff) | |
download | bcm5719-llvm-9663780e3573a5cbd5b631bf5ccd691563c98e24.tar.gz bcm5719-llvm-9663780e3573a5cbd5b631bf5ccd691563c98e24.zip |
Reformat code following Preprocessor constructor updates
Landing this separately to make the previous commits easy to follow at home.
llvm-svn: 207826
Diffstat (limited to 'clang/unittests/Lex/PPCallbacksTest.cpp')
-rw-r--r-- | clang/unittests/Lex/PPCallbacksTest.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/clang/unittests/Lex/PPCallbacksTest.cpp b/clang/unittests/Lex/PPCallbacksTest.cpp index c5013a7671c..043c3003ce9 100644 --- a/clang/unittests/Lex/PPCallbacksTest.cpp +++ b/clang/unittests/Lex/PPCallbacksTest.cpp @@ -172,10 +172,9 @@ protected: AddFakeHeader(HeaderInfo, HeaderPath, SystemHeader); IntrusiveRefCntPtr<PreprocessorOptions> PPOpts = new PreprocessorOptions(); - Preprocessor PP(PPOpts, Diags, LangOpts, - SourceMgr, HeaderInfo, ModLoader, - /*IILookup =*/ 0, - /*OwnsHeaderSearch =*/false); + Preprocessor PP(PPOpts, Diags, LangOpts, SourceMgr, HeaderInfo, ModLoader, + /*IILookup =*/0, + /*OwnsHeaderSearch =*/false); PP.Initialize(*Target); InclusionDirectiveCallbacks* Callbacks = new InclusionDirectiveCallbacks; PP.addPPCallbacks(Callbacks); // Takes ownership. @@ -206,9 +205,8 @@ protected: HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, OpenCLLangOpts, Target.getPtr()); - Preprocessor PP(new PreprocessorOptions(), Diags, OpenCLLangOpts, - SourceMgr, HeaderInfo, ModLoader, - /*IILookup =*/ 0, + Preprocessor PP(new PreprocessorOptions(), Diags, OpenCLLangOpts, SourceMgr, + HeaderInfo, ModLoader, /*IILookup =*/0, /*OwnsHeaderSearch =*/false); PP.Initialize(*Target); |