OSDN Git Service

[Support] Port ErrorOr<T> from lld to C++03.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Sun, 20 Jan 2013 20:32:30 +0000 (20:32 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Sun, 20 Jan 2013 20:32:30 +0000 (20:32 +0000)
commit01812bebcc345b09ce261317b6fdefde8f097642
treef49ada585f33eb34cea9a3ea266d95099f8ea30f
parent5ff7a3f947c245df9ae95a381ef38184527e83e1
[Support] Port ErrorOr<T> from lld to C++03.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172991 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Compiler.h
include/llvm/Support/ErrorOr.h [new file with mode: 0644]
include/llvm/Support/type_traits.h
unittests/Support/CMakeLists.txt
unittests/Support/ErrorOrTest.cpp [new file with mode: 0644]