diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-12-19 22:24:34 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-12-19 22:24:34 +0000 |
commit | fdfc198013c372c41669957639eac56d27fd57f4 (patch) | |
tree | 00ba2e361744a157c56d5a917d78003e8e5f930d /Driver/SerializationTest.cpp | |
parent | 80a75916485adee6a3463a87bd327d2fd5077764 (diff) |
Removed "SourceFile" from TranslationUnit. This same information will (soon)
be available by querying the SourceManager within the ASTContext referenced by
the TranslationUnit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/SerializationTest.cpp')
-rw-r--r-- | Driver/SerializationTest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Driver/SerializationTest.cpp b/Driver/SerializationTest.cpp index acb91642d3..d43b570345 100644 --- a/Driver/SerializationTest.cpp +++ b/Driver/SerializationTest.cpp @@ -37,9 +37,8 @@ class SerializationTest : public ASTConsumer { Diagnostic &Diags; FileManager &FMgr; public: - SerializationTest(const std::string& SourceFile, Diagnostic &d, - FileManager& fmgr, const LangOptions& LOpts) - : TU(SourceFile, LOpts), Diags(d), FMgr(fmgr) {} + SerializationTest(Diagnostic &d, FileManager& fmgr, const LangOptions& LOpts) + : TU(LOpts), Diags(d), FMgr(fmgr) {} ~SerializationTest(); @@ -59,9 +58,10 @@ private: } // end anonymous namespace ASTConsumer* -clang::CreateSerializationTest(const std::string& SourceFile, Diagnostic &Diags, - FileManager& FMgr, const LangOptions &LOpts) { - return new SerializationTest(SourceFile,Diags,FMgr,LOpts); +clang::CreateSerializationTest(Diagnostic &Diags, FileManager& FMgr, + const LangOptions &LOpts) { + + return new SerializationTest(Diags,FMgr,LOpts); } |