diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-12-05 21:34:36 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-12-05 21:34:36 +0000 |
commit | acc9f337e70a77eea05fe96ac155e05a93c8bbae (patch) | |
tree | cf2d420de3da9792c424e9d18c848d36911c2213 /Driver/clang.cpp | |
parent | 589fd42d71cf5713aec3bd44b49382fba46ec5a9 (diff) |
Modified: CreateTargetInfo(). Now takes Diagnostic* instead of Diagnostic&.
Modified: ctor of SerializationTest: Now takes LangOptions argument. We
will eventually serialize this as well.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44630 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r-- | Driver/clang.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 64f8cb602d..484a03cc3f 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -848,7 +848,7 @@ static ASTConsumer* CreateASTConsumer(Diagnostic& Diag, FileManager& FileMgr, return CreateUnitValsChecker(Diag); case TestSerialization: - return CreateSerializationTest(Diag, FileMgr); + return CreateSerializationTest(Diag, FileMgr, LangOpts); case EmitLLVM: return CreateLLVMEmitter(Diag, LangOpts); @@ -1004,7 +1004,7 @@ int main(int argc, char **argv) { { // Create triples, and create the TargetInfo. std::vector<std::string> triples; CreateTargetTriples(triples); - Target = CreateTargetInfo(triples,Diags); + Target = CreateTargetInfo(triples,&Diags); if (Target == 0) { fprintf(stderr, "Sorry, I don't know what target this is: %s\n", |