aboutsummaryrefslogtreecommitdiff
path: root/unittests/ADT/OptionalTest.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-02-20 06:25:36 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-02-20 06:25:36 +0000
commit4318fc5e1e44f355ae117dcac385f1718d971e90 (patch)
tree53a20b6aac65f693a9218367060c7a667b689e69 /unittests/ADT/OptionalTest.cpp
parent65692c809efa46337bf80f12b1795e785a6e7207 (diff)
Rename llvm::Optional<T>::Reset to 'reset' as per LLVM naming conventions.
Code review feedback on r175580 from Jordan Rose. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT/OptionalTest.cpp')
-rw-r--r--unittests/ADT/OptionalTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ADT/OptionalTest.cpp b/unittests/ADT/OptionalTest.cpp
index 8bdea45c5a..6fd8bbaf09 100644
--- a/unittests/ADT/OptionalTest.cpp
+++ b/unittests/ADT/OptionalTest.cpp
@@ -56,7 +56,7 @@ TEST_F(OptionalTest, ResetTest) {
EXPECT_EQ(0u, NonDefaultConstructible::CopyAssignments);
EXPECT_EQ(1u, NonDefaultConstructible::Destructions);
NonDefaultConstructible::ResetCounts();
- O.Reset();
+ O.reset();
EXPECT_EQ(0u, NonDefaultConstructible::CopyConstructions);
EXPECT_EQ(0u, NonDefaultConstructible::CopyAssignments);
EXPECT_EQ(1u, NonDefaultConstructible::Destructions);