From f79bafa608a5d7c49ec40ad199af5e32f3038b47 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Sun, 29 Nov 2009 09:57:35 +0000 Subject: This patch moves the frontend timer from clang-cc into CompilerInstance. CompilerInstance already contains various objects that are used throughout the entire run. Also addresses Daniels review comments in: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20091123/024508.html git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90073 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Frontend/FrontendAction.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'include/clang/Frontend/FrontendAction.h') diff --git a/include/clang/Frontend/FrontendAction.h b/include/clang/Frontend/FrontendAction.h index 469ea535f6..3042767af8 100644 --- a/include/clang/Frontend/FrontendAction.h +++ b/include/clang/Frontend/FrontendAction.h @@ -14,10 +14,6 @@ #include "llvm/ADT/OwningPtr.h" #include -namespace llvm { -class Timer; -} - namespace clang { class ASTUnit; class ASTConsumer; @@ -29,7 +25,6 @@ class FrontendAction { std::string CurrentFile; llvm::OwningPtr CurrentASTUnit; CompilerInstance *Instance; - llvm::Timer *CurrentTimer; protected: /// @name Implementation Action Interface @@ -111,18 +106,6 @@ public: void setCurrentFile(llvm::StringRef Value, ASTUnit *AST = 0); - /// @} - /// @name Timing Utilities - /// @{ - - llvm::Timer *getCurrentTimer() const { - return CurrentTimer; - } - - void setCurrentTimer(llvm::Timer *Value) { - CurrentTimer = Value; - } - /// @} /// @name Supported Modes /// @{ -- cgit v1.2.3