llvm-6502/unittests
Chandler Carruth 1880e2d344 Fix inappropriate use of anonymous namespaces in unittests.
The TEST_F macros actually declare *subclasses* of the test fixtures.
Even if they didn't we don't want them to declare external functions.
The entire unit test, including both the fixture class and the fixture
test cases should be wrapped in the anonymous namespace.

This issue was caught by the new '-Winternal-linkage-in-inline' warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158798 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-20 08:39:27 +00:00
..
ADT Fix PR13148, an inf-loop in StringMap. 2012-06-19 17:40:35 +00:00
Analysis The product of two chrec's can always be represented as a chrec. 2011-10-04 06:51:26 +00:00
Bitcode Bitcode: Don't expose WriteBitcodeToStream to clients. 2012-02-29 20:30:56 +00:00
ExecutionEngine Disable JITTest.FunctionIsRecompiledAndRelinked and JITTest.NoStubs 2012-05-16 19:07:55 +00:00
Support Fix inappropriate use of anonymous namespaces in unittests. 2012-06-20 08:39:27 +00:00
Transforms Fix inappropriate use of anonymous namespaces in unittests. 2012-06-20 08:39:27 +00:00
VMCore Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
CMakeLists.txt Add missing unittest files to the cmake build. 2012-06-17 14:42:49 +00:00
Makefile Undo the hack in r147427 and move this unittest to a better home. This 2012-01-02 09:19:48 +00:00
Makefile.unittest build/unittests: Fix llvm-config names for gtest libraries, and bring Makefile 2011-12-15 23:35:08 +00:00