summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/constexpr-string.cpp
Commit message (Collapse)AuthorAgeFilesLines
* P0426: Make the library implementation of constexpr char_traits a little easierRichard Smith2017-01-201-0/+21
| | | | | | | | | by providing a memchr builtin that returns char* instead of void*. Also add a __has_feature flag to indicate the presence of constexpr forms of the relevant <string> functions. llvm-svn: 292555
* Support constant expression evaluation for wchar_t versions of simple stringRichard Smith2016-11-291-4/+99
| | | | | | functions, in order to support constexpr std::char_traits<wchar_t>. llvm-svn: 288193
* [c++1z] Support constant folding for __builtin_strchr and __builtin_memchr.Richard Smith2016-11-121-1/+39
| | | | llvm-svn: 286699
* [c++1z] Add constant-folding support for strcmp, strncmp, and memcmp, toRichard Smith2016-11-111-0/+68
support constexpr char_traits. llvm-svn: 286678
OpenPOWER on IntegriCloud