[llvm-commits] [llvm] r91552 - /llvm/trunk/utils/unittest/googletest/gtest.cc

Bill Wendling isanbard at gmail.com
Wed Dec 16 11:36:42 PST 2009


Author: void
Date: Wed Dec 16 13:36:42 2009
New Revision: 91552

URL: http://llvm.org/viewvc/llvm-project?rev=91552&view=rev
Log:
Remove superfluous 'extern' variable that was causing a warning with clang.

Modified:
    llvm/trunk/utils/unittest/googletest/gtest.cc

Modified: llvm/trunk/utils/unittest/googletest/gtest.cc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/gtest.cc?rev=91552&r1=91551&r2=91552&view=diff

==============================================================================
--- llvm/trunk/utils/unittest/googletest/gtest.cc (original)
+++ llvm/trunk/utils/unittest/googletest/gtest.cc Wed Dec 16 13:36:42 2009
@@ -532,7 +532,7 @@
 
 // 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





More information about the llvm-commits mailing list