summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/FrontendTiming.cpp
diff options
context:
space:
mode:
authorAndrew V. Tischenko <andrew.v.tischenko@gmail.com>2018-04-23 09:22:30 +0000
committerAndrew V. Tischenko <andrew.v.tischenko@gmail.com>2018-04-23 09:22:30 +0000
commit8ab2c9cd1eb24e4b5c977e971f58b4b303b25482 (patch)
treee92ab8f469515fb4408ae537fbbb81acb6f4e099 /clang/lib/Frontend/FrontendTiming.cpp
parent047c1ab1613dbaf25fedae03b26666eb7351a057 (diff)
downloadbcm5719-llvm-8ab2c9cd1eb24e4b5c977e971f58b4b303b25482.tar.gz
bcm5719-llvm-8ab2c9cd1eb24e4b5c977e971f58b4b303b25482.zip
Use special new Clang flag 'FrontendTimesIsEnabled' instead of 'llvm::TimePassesIsEnabled' inside -ftime-report feature.
Differential Revision: https://reviews.llvm.org/D45619 llvm-svn: 330571
Diffstat (limited to 'clang/lib/Frontend/FrontendTiming.cpp')
-rw-r--r--clang/lib/Frontend/FrontendTiming.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/clang/lib/Frontend/FrontendTiming.cpp b/clang/lib/Frontend/FrontendTiming.cpp
new file mode 100644
index 00000000000..9ea7347e779
--- /dev/null
+++ b/clang/lib/Frontend/FrontendTiming.cpp
@@ -0,0 +1,20 @@
+//===- FronendTiming.cpp - Implements Frontend timing utils --------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file keps implementation of frontend timing utils.
+//
+//===----------------------------------------------------------------------===//
+
+#include "clang/Frontend/Utils.h"
+
+namespace clang {
+
+bool FrontendTimesIsEnabled = false;
+
+}
OpenPOWER on IntegriCloud