1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/Object
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
..
Archive.cpp Make 32-bit member offset in Archive::Symbol::getMember 64-bit 2017-10-27 21:47:38 +00:00
ArchiveWriter.cpp s/LLVM_ON_WIN32/_WIN32/, llvm 2018-04-29 00:45:03 +00:00
Binary.cpp Update a few switch statements to handle file_magic::pdb. 2018-03-07 18:58:33 +00:00
CMakeLists.txt Bitcode: Write the irsymtab to disk. 2017-06-27 23:50:11 +00:00
COFFImportFile.cpp [COFF] Keep the underscore on exported decorated stdcall functions in MSVC mode 2018-01-20 11:44:32 +00:00
COFFModuleDefinition.cpp [COFF] Ignore semicolons in module definition identifiers 2017-12-06 19:18:24 +00:00
COFFObjectFile.cpp COFF: Make SectionChunk::Relocs field an ArrayRef. NFCI. 2018-04-17 01:54:34 +00:00
Decompressor.cpp Revert "[Decompression] Fail gracefully when out of memory" 2017-09-05 22:04:00 +00:00
ELF.cpp CodeGen: support an extension to pass linker options on ELF 2018-01-30 16:29:29 +00:00
ELFObjectFile.cpp [RISCV] Add ELFObjectFileBase::getRISCVFeatures let llvm-objdump could get RISCV target feature 2018-02-02 06:01:02 +00:00
Error.cpp Revert "[ADT] Make Twine's copy constructor private." 2017-10-11 23:54:34 +00:00
IRObjectFile.cpp Remove redundant includes from lib/Object. 2017-12-13 21:30:55 +00:00
IRSymtab.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
LLVMBuild.txt Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
MachOObjectFile.cpp [llvm-objdump] Print "..." instead of random data for virtual sections 2018-04-19 17:02:57 +00:00
MachOUniversal.cpp Fix a bugs with using some Mach-O command line flags like "-arch armv7m". 2016-12-16 22:54:02 +00:00
ModuleSymbolTable.cpp LowerTypeTests: Propagate symver directives 2018-04-20 01:36:48 +00:00
Object.cpp Report fatal error in the case of out of memory 2018-02-20 05:41:26 +00:00
ObjectFile.cpp Update a few switch statements to handle file_magic::pdb. 2018-03-07 18:58:33 +00:00
RecordStreamer.cpp LowerTypeTests: Propagate symver directives 2018-04-20 01:36:48 +00:00
RecordStreamer.h LowerTypeTests: Propagate symver directives 2018-04-20 01:36:48 +00:00
SymbolicFile.cpp Update a few switch statements to handle file_magic::pdb. 2018-03-07 18:58:33 +00:00
SymbolSize.cpp Fix computeSymbolSizes SEGFAULT on invalid file 2018-04-23 16:08:01 +00:00
WasmObjectFile.cpp typo 2018-04-27 00:17:24 +00:00
WindowsResource.cpp [Support] Add WritableMemoryBuffer::getNewMemBuffer 2018-01-09 17:26:06 +00:00