[PATCH] D148259: Fix warnings in InstrProfTest.cpp
Ellis Hoag via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 13 11:13:57 PDT 2023
ellis added a comment.
Sorry it looks like I broke some builds. Hopefully this will fix them.
https://lab.llvm.org/buildbot/#/builders/57/builds/26047
/home/buildbots/docker-RHEL84-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:252:3: error: 'SmallVector' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]
SmallVector Traces = {LargeTrace, SmallTrace};
^
/home/buildbots/docker-RHEL84-buildbot/SetupBot/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1199:22: note: add a deduction guide to suppress this warning
class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl<T>,
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148259/new/
https://reviews.llvm.org/D148259
More information about the llvm-commits
mailing list