llvm-6502/lib
Justin Bogner a074de6ff4 Disallow implicit conversions from None to integer types
This fixes an error introduced in r228934 where None was converted to
an int instead of the int being converted to an Optional as intended.
We make that sort of mistake a compile error by changing NoneType into
a scoped enum.

Finally, provide a static NoneType called None to avoid forcing all
users to spell it NoneType::None.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229980 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-20 07:28:28 +00:00
..
Analysis [LoopAccesses] Change LAA:getInfo to return a constant reference 2015-02-19 19:15:21 +00:00
AsmParser IR: Fix MDType fields from unsigned to uint64_t 2015-02-19 23:56:07 +00:00
Bitcode Bitcode: Stop assuming non-null fields 2015-02-20 03:17:58 +00:00
CodeGen Fix build with gcc. This has a -Wsequence-point error on 'MII', which is a good point. 2015-02-20 07:17:40 +00:00
DebugInfo llvm-pdbdump: Add flags controlling the type of values to dump. 2015-02-15 20:27:53 +00:00
ExecutionEngine Don't deference the section_end() iterator. 2015-02-17 20:07:28 +00:00
Fuzzer [fuzzer] one more experimental search mode: -use_coverage_pairs=1 2015-02-20 03:02:37 +00:00
IR Bitcode: Stop assuming non-null fields 2015-02-20 03:17:58 +00:00
IRReader Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
LineEditor Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Linker Prefer SmallVector::append/insert over push_back loops. 2015-02-17 15:29:18 +00:00
LTO [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
MC MC: Allow multiple comma-separated expressions on the .uleb128 directive. 2015-02-19 20:24:04 +00:00
Object Introduce Target::createNullTargetStreamer and use it from IRObjectFile. 2015-02-19 00:45:02 +00:00
Option Prefer SmallVector::append/insert over push_back loops. 2015-02-17 15:29:18 +00:00
ProfileData Disallow implicit conversions from None to integer types 2015-02-20 07:28:28 +00:00
Support Checking if TARGET_OS_IPHONE is defined isn't good enough for 10.7 and earlier. 2015-02-19 19:50:52 +00:00
TableGen MSVC 2013 does not ICE on this code in the same fashion that MSVC 2012 did; NFC. 2015-02-16 19:33:36 +00:00
Target Fix build in release mode, -Wunused-variable on this lambda function used only in an assert. 2015-02-20 07:16:17 +00:00
Transforms Fix build in release mode, four cases of -Wunused-variable. 2015-02-20 07:14:02 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile