summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic/overflow.ll
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:59:37 +0100
commit4ea9a4aba4a7cfea0325022d50b97a9409026ab5 (patch)
tree128995f3695d3d29e02d8223d47b0c93087894c3 /llvm/test/CodeGen/Generic/overflow.ll
parent7ad47b46b55fe33bc763411ae7b8bcca5a63d8dc (diff)
downloadbcm5719-llvm-4ea9a4aba4a7cfea0325022d50b97a9409026ab5.tar.gz
bcm5719-llvm-4ea9a4aba4a7cfea0325022d50b97a9409026ab5.zip
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' (cherry picked from commit b3d7d1061dc375bb5ea725e6597382fcd37f41d6)
Diffstat (limited to 'llvm/test/CodeGen/Generic/overflow.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud