1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/unittests/Support
Nico Weber fcf0230e34 IWYU for llvm-config.h in llvm, additions.
See r331124 for how I made a list of files missing the include.
I then ran this Python script:

    for f in open('filelist.txt'):
        f = f.strip()
        fl = open(f).readlines()

        found = False
        for i in xrange(len(fl)):
            p = '#include "llvm/'
            if not fl[i].startswith(p):
                continue
            if fl[i][len(p):] > 'Config':
                fl.insert(i, '#include "llvm/Config/llvm-config.h"\n')
                found = True
                break
        if not found:
            print 'not found', f
        else:
            open(f, 'w').write(''.join(fl))

and then looked through everything with `svn diff | diffstat -l | xargs -n 1000 gvim -p`
and tried to fix include ordering and whatnot.

No intended behavior change.

llvm-svn: 331184
2018-04-30 14:59:11 +00:00
..
DynamicLibrary
AlignOfTest.cpp
AllocatorTest.cpp Report fatal error in the case of out of memory 2018-02-20 05:41:26 +00:00
ARMAttributeParser.cpp
ArrayRecyclerTest.cpp
BinaryStreamTest.cpp
BlockFrequencyTest.cpp
BranchProbabilityTest.cpp
CachePruningTest.cpp
Casting.cpp
CheckedArithmeticTest.cpp Utility functions for checked arithmetic 2018-03-02 00:30:43 +00:00
Chrono.cpp
CMakeLists.txt Utility functions for checked arithmetic 2018-03-02 00:30:43 +00:00
CommandLineTest.cpp Fix stack-use-after-scope in test previously hidden by -fmerge-all-constants 2018-04-07 09:46:00 +00:00
CompressionTest.cpp
ConvertUTFTest.cpp
CrashRecoveryTest.cpp s/LLVM_ON_WIN32/_WIN32/, llvm 2018-04-29 00:45:03 +00:00
DataExtractorTest.cpp
DebugTest.cpp
DJBTest.cpp Resubmit r325107 (case folding DJB hash) 2018-02-21 22:36:31 +00:00
EndianStreamTest.cpp
EndianTest.cpp
ErrnoTest.cpp
ErrorOrTest.cpp
ErrorTest.cpp [Testing/Support] Make Failed() matcher work with abstract error types 2018-04-10 14:11:53 +00:00
FileOutputBufferTest.cpp
formatted_raw_ostream_test.cpp
FormatVariadicTest.cpp
GlobPatternTest.cpp
Host.cpp
LEB128Test.cpp
LineIteratorTest.cpp
LockFileManagerTest.cpp
ManagedStatic.cpp Report fatal error in the case of out of memory 2018-02-20 05:41:26 +00:00
MathExtrasTest.cpp
MD5Test.cpp
MemoryBufferTest.cpp [Support] Pacify -Wsign-compare in unit test. 2018-03-08 21:54:30 +00:00
MemoryTest.cpp
NativeFormatTests.cpp
ParallelTest.cpp
Path.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
ProcessTest.cpp s/LLVM_ON_WIN32/_WIN32/, llvm 2018-04-29 00:45:03 +00:00
ProgramTest.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
raw_ostream_test.cpp
raw_pwrite_stream_test.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
raw_sha1_ostream_test.cpp
RegexTest.cpp
ReplaceFileTest.cpp
ReverseIterationTest.cpp
ScaledNumberTest.cpp
SourceMgrTest.cpp [Support] Make line-number cache robust against access patterns. 2018-04-07 00:44:02 +00:00
SpecialCaseListTest.cpp
StringPool.cpp
SwapByteOrderTest.cpp
TargetParserTest.cpp
TarWriterTest.cpp
Threading.cpp
ThreadLocalTest.cpp
ThreadPool.cpp
TimerTest.cpp s/LLVM_ON_WIN32/_WIN32/, llvm 2018-04-29 00:45:03 +00:00
TrailingObjectsTest.cpp
TrigramIndexTest.cpp
TypeNameTest.cpp
UnicodeTest.cpp
xxhashTest.cpp
YAMLIOTest.cpp [YAML] Remove unit test of multibyte non-printable escaping that uses C++11 escapes 2018-03-27 20:46:26 +00:00
YAMLParserTest.cpp