]> granicus.if.org Git - clang/commit
Support constant expression evaluation for wchar_t versions of simple string
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Nov 2016 19:45:17 +0000 (19:45 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Nov 2016 19:45:17 +0000 (19:45 +0000)
commitb34ac84a9eeb2ee1cd4201d19f0fe2838affef3a
treedc041e88d0836b0d3766bcf251715f3639b2213f
parentf507e26ec1282550d753e71270b0d786ef53121a
Support constant expression evaluation for wchar_t versions of simple string
functions, in order to support constexpr std::char_traits<wchar_t>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288193 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Builtins.def
lib/AST/ASTContext.cpp
lib/AST/ExprConstant.cpp
test/SemaCXX/constexpr-string.cpp