diff options
| author | Hans Wennborg <hans@chromium.org> | 2020-02-03 16:56:15 +0100 |
|---|---|---|
| committer | Hans Wennborg <hans@chromium.org> | 2020-02-03 16:58:01 +0100 |
| commit | b3d7d1061dc375bb5ea725e6597382fcd37f41d6 (patch) | |
| tree | 5df8c0c6704ba0c8d749548d3a459453cd6205b7 /llvm/lib/CodeGen/CallingConvLower.cpp | |
| parent | be9fe6aa8bd5085cb2ff7f1d28901a61bb89adad (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
