From c88a88f6f7672b6bb831dce9da4acfa0c846975f Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 1 Jul 2009 20:03:04 +0000 Subject: Driver: Move Compilation::Execute to Driver::ExecuteCompilation. - The Compilation is just a helper class, it shouldn't have that amount of logic in it. - No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74634 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/driver/driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/driver/driver.cpp') diff --git a/tools/driver/driver.cpp b/tools/driver/driver.cpp index 804bef4058..323283e653 100644 --- a/tools/driver/driver.cpp +++ b/tools/driver/driver.cpp @@ -219,7 +219,7 @@ int main(int argc, const char **argv) { int Res = 0; if (C.get()) - Res = C->Execute(); + Res = TheDriver.ExecuteCompilation(*C); llvm::llvm_shutdown(); -- cgit v1.2.3-70-g09d2