[all-commits] [llvm/llvm-project] 6c8939: Use __builtin_strlen in constexpr StringRef ctor w...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Fri Oct 25 15:54:37 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c89392592c3eaf174b6f60793b91964297eeb72
      https://github.com/llvm/llvm-project/commit/6c89392592c3eaf174b6f60793b91964297eeb72
  Author: Reid Kleckner <rnk at google.com>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M llvm/include/llvm/ADT/StringRef.h

  Log Message:
  -----------
  Use __builtin_strlen in constexpr StringRef ctor with MSVC

MSVC supports it. Fixes the major MSVC compile time regression
introduced in r369961. Now
clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp compiles in 18s
instead of 7+ minutes.

Fixes PR43369




More information about the All-commits mailing list