]> granicus.if.org Git - clang/commit
[c++1z] Add constant-folding support for strcmp, strncmp, and memcmp, to
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 11 Nov 2016 23:43:35 +0000 (23:43 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 11 Nov 2016 23:43:35 +0000 (23:43 +0000)
commitf74c116bcc537e53097d3954bac3746cf5db2be5
treee7ee3903fc3824772a7af6e1d7a118ca261f7a69
parentf05b16b9c35334f61f66a140028b335729842c9d
[c++1z] Add constant-folding support for strcmp, strncmp, and memcmp, to
support constexpr char_traits.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286678 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/SemaCXX/constexpr-string.cpp [new file with mode: 0644]
test/SemaCXX/constexpr-strlen.cpp [deleted file]