summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CallingConvLower.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2020-02-03 16:56:15 +0100
committerHans Wennborg <hans@chromium.org>2020-02-03 16:58:01 +0100
commitb3d7d1061dc375bb5ea725e6597382fcd37f41d6 (patch)
tree5df8c0c6704ba0c8d749548d3a459453cd6205b7 /llvm/lib/CodeGen/CallingConvLower.cpp
parentbe9fe6aa8bd5085cb2ff7f1d28901a61bb89adad (diff)
Declare __builtin_strlen in StringRef.h as constexpr
Otherwise Visual Studio 2017 will complain about llvm::StringRef::strlen not being constexpr: StringRef.h(80): error C3615: constexpr function 'llvm::StringRef::strLen' cannot result in a constant expression StringRef.h(84): note: failure was caused by call of undefined function or one not declared 'constexpr'
Diffstat (limited to 'llvm/lib/CodeGen/CallingConvLower.cpp')
0 files changed, 0 insertions, 0 deletions