[all-commits] [llvm/llvm-project] d2a710: Actually, don't try to use __builtin_strlen in Str...
Hans via All-commits
all-commits at lists.llvm.org
Mon Feb 3 08:53:11 PST 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: d2a710ea784eea43c63e3831224de6355f1e4a6f
https://github.com/llvm/llvm-project/commit/d2a710ea784eea43c63e3831224de6355f1e4a6f
Author: Hans Wennborg <hans at chromium.org>
Date: 2020-02-03 (Mon, 03 Feb 2020)
Changed paths:
M llvm/include/llvm/ADT/StringRef.h
Log Message:
-----------
Actually, don't try to use __builtin_strlen in StringRef.h before VS 2019
The fix in b3d7d1061dc375bb5ea725e6597382fcd37f41d6 compiled nicely,
but didn't link because at least the VS 2017 version I use doesn't
have the builtin yet. Instead, make use of the builtin with MSVC
conditional on VS 2019 or later.
(cherry picked from commit ff837aa63cdfadb58f387ca77785ca3ca51c6976)
More information about the All-commits
mailing list