[all-commits] [llvm/llvm-project] 895685: Undo a bit of fcf4e360ba6b that confuses MSVC

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Sun Dec 4 11:35:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89568521943b79fe27c6f3c19799a575318b1882
      https://github.com/llvm/llvm-project/commit/89568521943b79fe27c6f3c19799a575318b1882
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-12-04 (Sun, 04 Dec 2022)

  Changed paths:
    M clang/lib/Serialization/GlobalModuleIndex.cpp

  Log Message:
  -----------
  Undo a bit of fcf4e360ba6b that confuses MSVC

clang\lib\Serialization\GlobalModuleIndex.cpp(818): error C2440: 'initializing': cannot convert from 'const ValueTy' to '_Ty2 &&'
        with
        [
            ValueTy=llvm::SmallVector<unsigned int,2>
        ]
        and
        [
            _Ty2=llvm::SmallVector<unsigned int,2>
        ]




More information about the All-commits mailing list