summaryrefslogtreecommitdiff
path: root/utils/unittest
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-12-16 19:36:42 +0000
committerBill Wendling <isanbard@gmail.com>2009-12-16 19:36:42 +0000
commit0a0124e4f60da9ee8d76ccaab3116862a20be2b0 (patch)
treecfd0d9a7117f81884813a7c5be6f5509c2c950f1 /utils/unittest
parent74215fc29fa748e006c0309671555d5873bac56a (diff)
downloadllvm-0a0124e4f60da9ee8d76ccaab3116862a20be2b0.tar.gz
llvm-0a0124e4f60da9ee8d76ccaab3116862a20be2b0.tar.bz2
llvm-0a0124e4f60da9ee8d76ccaab3116862a20be2b0.tar.xz
Remove superfluous 'extern' variable that was causing a warning with clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/unittest')
-rw-r--r--utils/unittest/googletest/gtest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/unittest/googletest/gtest.cc b/utils/unittest/googletest/gtest.cc
index e46e90a2c4..b5a654f18b 100644
--- a/utils/unittest/googletest/gtest.cc
+++ b/utils/unittest/googletest/gtest.cc
@@ -532,7 +532,7 @@ TypeId GetTestTypeId() {
// The value of GetTestTypeId() as seen from within the Google Test
// library. This is solely for testing GetTestTypeId().
-extern const TypeId kTestTypeIdInGoogleTest = GetTestTypeId();
+const TypeId kTestTypeIdInGoogleTest = GetTestTypeId();
// This predicate-formatter checks that 'results' contains a test part
// failure of the given type and that the failure message contains the