diff options
| author | Adrian Prantl <aprantl@apple.com> | 2015-07-17 01:19:54 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2015-07-17 01:19:54 +0000 |
| commit | fb2398d0c43405a6b654c80560e38fb3ccd134b9 (patch) | |
| tree | e1a0f288169e920a3ac6d9f2aaece67eb7796bf1 /clang/unittests/ASTMatchers/ASTMatchersTest.h | |
| parent | cabe02e14110526189a0935d172f8547f0232572 (diff) | |
| download | bcm5719-llvm-fb2398d0c43405a6b654c80560e38fb3ccd134b9.tar.gz bcm5719-llvm-fb2398d0c43405a6b654c80560e38fb3ccd134b9.zip | |
Make the clang module container format selectable from the command line.
- introduces a new cc1 option -fmodule-format=[raw,obj]
with 'raw' being the default
- supports arbitrary module container formats that libclang is agnostic to
- adds the format to the module hash to avoid collisions
- splits the old PCHContainerOperations into PCHContainerWriter and
a PCHContainerReader.
Thanks to Richard Smith for reviewing this patch!
llvm-svn: 242499
Diffstat (limited to 'clang/unittests/ASTMatchers/ASTMatchersTest.h')
| -rw-r--r-- | clang/unittests/ASTMatchers/ASTMatchersTest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/ASTMatchers/ASTMatchersTest.h b/clang/unittests/ASTMatchers/ASTMatchersTest.h index d79a3175b47..403a305db24 100644 --- a/clang/unittests/ASTMatchers/ASTMatchersTest.h +++ b/clang/unittests/ASTMatchers/ASTMatchersTest.h @@ -80,7 +80,7 @@ testing::AssertionResult matchesConditionally( Args.push_back("-frtti"); Args.push_back("-fexceptions"); if (!runToolOnCodeWithArgs(Factory->create(), Code, Args, Filename, - std::make_shared<RawPCHContainerOperations>(), + std::make_shared<PCHContainerOperations>(), VirtualMappedFiles)) { return testing::AssertionFailure() << "Parsing error in \"" << Code << "\""; } |

