llvm-6502/lib
Duncan Sands fa6a1cf1ed Don't access the first element of a potentially empty
vector (&Formals[0]).  With this change llvm-gcc builds
with expensive checking enabled for C, C++ and Fortran.
While there, change a std::vector into a SmallVector.
This is partly gratuitous, but mostly because not all
STL vector implementations define the data method (and
it should be faster).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79237 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-17 14:33:27 +00:00
..
Analysis Actually privatize a IntegerTypes, and fix a few bugs exposed by this. 2009-08-13 23:27:32 +00:00
Archive Make LLVMContext and LLVMContextImpl classes instead of structs. 2009-08-11 17:45:13 +00:00
AsmParser Actually privatize a IntegerTypes, and fix a few bugs exposed by this. 2009-08-13 23:27:32 +00:00
Bitcode Actually privatize a IntegerTypes, and fix a few bugs exposed by this. 2009-08-13 23:27:32 +00:00
CodeGen change AsmPrinter to switch sections using AsmStreamer instead of 2009-08-17 05:49:08 +00:00
CompilerDriver Delete the temp dir even when '--temp-dir' is specified. 2009-07-11 19:27:07 +00:00
Debugger Privatize the StructType table, which unfortunately involves routing contexts through a number of APIs. 2009-08-05 23:16:16 +00:00
ExecutionEngine Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
Linker Link NamedMDNodes. 2009-08-11 18:01:24 +00:00
MC change AsmPrinter to switch sections using AsmStreamer instead of 2009-08-17 05:49:08 +00:00
Support Modify APFloat to take a StringRef instead of a c string. 2009-08-16 23:36:19 +00:00
System This void is implicit in C++. 2009-08-12 22:10:57 +00:00
Target Avoid emitting XMM save code in soft-float or no-implicit-float mode 2009-08-16 21:24:25 +00:00
Transforms Don't access the first element of a potentially empty 2009-08-17 14:33:27 +00:00
VMCore Expose creating constant ints and floats from strings in llvm-c. 2009-08-16 23:36:46 +00:00
Makefile LLVMC doesn't need ENABLE_PIC to build now. 2009-07-04 03:54:54 +00:00