summaryrefslogtreecommitdiffstats
path: root/libcxx/utils/google-benchmark/test/templated_fixture_test.cc
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-07-10 04:02:00 +0000
committerEric Fiselier <eric@efcs.ca>2018-07-10 04:02:00 +0000
commitfcafd3e6002cb682d737ddf56f1d972358dbfa61 (patch)
treea1cd9d15d739472558d8c4a325c5b492410d8f51 /libcxx/utils/google-benchmark/test/templated_fixture_test.cc
parent1c5ae9bc1f557fb27471c20de9fb3697de7f365e (diff)
downloadbcm5719-llvm-fcafd3e6002cb682d737ddf56f1d972358dbfa61.tar.gz
bcm5719-llvm-fcafd3e6002cb682d737ddf56f1d972358dbfa61.zip
Update google-benchark to trunk
llvm-svn: 336635
Diffstat (limited to 'libcxx/utils/google-benchmark/test/templated_fixture_test.cc')
-rw-r--r--libcxx/utils/google-benchmark/test/templated_fixture_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/utils/google-benchmark/test/templated_fixture_test.cc b/libcxx/utils/google-benchmark/test/templated_fixture_test.cc
index ec5b4c0cc07..fe9865cc776 100644
--- a/libcxx/utils/google-benchmark/test/templated_fixture_test.cc
+++ b/libcxx/utils/google-benchmark/test/templated_fixture_test.cc
@@ -4,15 +4,15 @@
#include <cassert>
#include <memory>
-template<typename T>
+template <typename T>
class MyFixture : public ::benchmark::Fixture {
-public:
+ public:
MyFixture() : data(0) {}
T data;
};
-BENCHMARK_TEMPLATE_F(MyFixture, Foo, int)(benchmark::State &st) {
+BENCHMARK_TEMPLATE_F(MyFixture, Foo, int)(benchmark::State& st) {
for (auto _ : st) {
data += 1;
}
OpenPOWER on IntegriCloud