llvm/unittests/Support
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
..
AlignOfTest.cpp Disable a particular assertion on MSVC... I'm deeply disturbed by its 2012-06-17 10:36:49 +00:00
AllocatorTest.cpp BumpPtrAllocator: Make sure threshold cannot be initialized with a value smaller than the slab size. 2012-03-01 22:10:16 +00:00
BlockFrequencyTest.cpp For reasons I can't fathom MSVC supports ULL but not LLU suffixes on long long integer literals. 2012-06-17 14:53:53 +00:00
Casting.cpp unittests/Support/Casting.cpp: [PR8226] Workaround for MSVC|Debug. 2012-01-22 12:14:35 +00:00
CommandLineTest.cpp Fix a compile failure introduced by r82675 on MinGW which doesn't have 2009-09-25 21:07:20 +00:00
ConstantRangeTest.cpp fix corner case in ConstantRange::intersectWith(). 2012-05-18 00:14:36 +00:00
DataExtractorTest.cpp unittests/Support/DataExtractorTest.cpp: Specify ULL explicitly to a few constants. 2011-09-13 23:23:49 +00:00
EndianTest.cpp Merge System into Support. 2010-11-29 18:16:10 +00:00
IntegersSubsetTest.cpp IntegersSubsetMapping: added exclude operation, that allows to exclude subset of integers from current mapping. 2012-06-05 07:57:36 +00:00
IRBuilderTest.cpp Fix inappropriate use of anonymous namespaces in unittests. 2012-06-20 08:39:27 +00:00
LeakDetectorTest.cpp Fix death tests in -Asserts builds. 2010-03-17 01:18:45 +00:00
Makefile Minimal raw_ostream unit tests 2009-03-17 16:14:59 +00:00
ManagedStatic.cpp Fix Windows build, don't try to #include <pthread.h> when we know it's not 2011-11-14 22:10:23 +00:00
MathExtrasTest.cpp Fixes warnings emitted by Visual Studio 2010 compiler. 2011-03-01 23:11:57 +00:00
MDBuilderTest.cpp Remove support for the special 'fast' value for fpmath accuracy for the moment. 2012-04-16 19:39:33 +00:00
Path.cpp Add permissions(), map_file_pages(), and unmap_file_pages() to llvm::sys::fs and add unit test. Unix is implemented. Windows side needs to be implemented. 2012-06-20 00:28:54 +00:00
raw_ostream_test.cpp Add raw_ostream::write_escaped, for writing escaped strings. 2009-10-17 20:43:08 +00:00
RegexTest.cpp Add Regex::sub, for doing regular expression substitution with backreferences. 2010-02-17 20:08:42 +00:00
SwapByteOrderTest.cpp Merge System into Support. 2010-11-29 18:16:10 +00:00
TimeValue.cpp unittests: Merge SystemTests back into SupportTests. 2010-11-29 22:29:04 +00:00
TypeBuilderTest.cpp Round 2 of dead private variable removal. 2012-06-06 19:47:08 +00:00
ValueHandleTest.cpp Change all self assignments X=X to (void)X, so that we can turn on a 2010-12-23 00:58:24 +00:00
YAMLParserTest.cpp Add YAML parser to Support. 2012-04-03 23:09:22 +00:00