llvm-6502/unittests
Alp Toker bad91954cf StringRef: Extend constexpr capabilities and introduce ConstStringRef
(1) Add llvm_expect(), an asserting macro that can be evaluated as a constexpr
    expression as well as a runtime assert or compiler hint in release builds. This
    technique can be used to construct functions that are both unevaluated and
    compiled depending on usage.

(2) Update StringRef using llvm_expect() to preserve runtime assertions while
    extending the same checks to static asserts in C++11 builds that support the
    feature.

(3) Introduce ConstStringRef, a strong subclass of StringRef that references
    compile-time constant strings. It's convertible to, but not from, ordinary
    StringRef and thus can be used to add compile-time safety to various interfaces
    in LLVM and clang that only accept fixed inputs such as diagnostic format
    strings that tend to get misused.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200187 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-27 04:07:17 +00:00
..
ADT StringRef: Extend constexpr capabilities and introduce ConstStringRef 2014-01-27 04:07:17 +00:00
Analysis [PM] Split DominatorTree into a concrete analysis result object which 2014-01-13 13:07:17 +00:00
Bitcode Update getLazyBitcodeModule to use ErrorOr for error handling. 2014-01-13 18:31:04 +00:00
CodeGen Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
DebugInfo [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
ExecutionEngine Update getLazyBitcodeModule to use ErrorOr for error handling. 2014-01-13 18:31:04 +00:00
IR Bug 18228 - Fix accepting bitcasts between vectors of pointers with a 2014-01-22 19:21:33 +00:00
Linker Reapply r194218 with fix: 2014-01-16 06:29:36 +00:00
MC
Object [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
Option
Support Fix known typos 2014-01-24 17:20:08 +00:00
Transforms Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
CMakeLists.txt No point in having a "#if 0"ed unittest. 2013-12-19 03:44:13 +00:00
Makefile Reapply r194218 with fix: 2014-01-16 06:29:36 +00:00
Makefile.unittest Makefile.unittest: cleanup may fail. Add '-' in the action. 2013-12-20 04:20:23 +00:00