Files
llvm-6502/include/llvm/Support
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
..
2013-05-01 21:01:06 +00:00
2013-12-05 05:44:44 +00:00
2014-01-03 22:53:37 +00:00
2014-01-24 17:20:08 +00:00
2013-11-15 01:25:34 +00:00
2012-09-14 14:57:36 +00:00
2013-12-12 15:45:32 +00:00
2013-08-01 01:38:16 +00:00
2014-01-24 17:20:08 +00:00
2013-07-16 19:44:17 +00:00
2013-06-13 21:16:58 +00:00
2013-05-21 20:36:13 +00:00
2013-02-26 18:05:31 +00:00
2013-07-16 19:44:17 +00:00
2013-08-20 22:52:02 +00:00