Re-add the assert to StringRef's const char *, length constructor.
By putting the assert behind a conditional in the initializer list we can ensure that it will still work in a constexpr context as the else branch of the ternary operator won't be examined unless the condition fails. llvm-svn: 290188
Loading
Please sign in to comment