[libcxx-commits] [libcxx] [libc++][modules] Add a header to forward-declare std::get (PR #108285)

LLVM Continuous Integration via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 12 14:25:39 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-bootstrap-asan` running on `sanitizer-buildbot2` while building `libcxx` at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/52/builds/2234

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[991/1308] Building CXX object unittests/MIR/CMakeFiles/MIRTests.dir/MachineStableHashTest.cpp.o
[992/1308] Building CXX object unittests/Object/CMakeFiles/ObjectTests.dir/DXContainerTest.cpp.o
[993/1308] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/SymbolRemappingReaderTest.cpp.o
[994/1308] Building CXX object unittests/Remarks/CMakeFiles/RemarksTests.dir/BitstreamRemarksParsingTest.cpp.o
[995/1308] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/ItaniumManglingCanonicalizerTest.cpp.o
[996/1308] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/VPIntrinsicTest.cpp.o
[997/1308] Building CXX object unittests/ObjectYAML/CMakeFiles/ObjectYAMLTests.dir/DWARFYAMLTest.cpp.o
[998/1308] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/BPFunctionNodeTest.cpp.o
[999/1308] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/InstrProfDataTest.cpp.o
[1000/1308] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o
FAILED: unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/unittests/ProfileData -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/include -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/include -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googlemock/include -nostdinc++ -isystem /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/include -isystem /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/include/c++/v1 -fsanitize=address -Wl,--rpath=/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/lib -L/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/lib -w -stdlib=libc++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o -MF unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o.d -o unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o -c /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:131:33: error: use of undeclared identifier 'Guids'; did you mean 'Guid'?
  131 |     DenseSet<GlobalValue::GUID> Guids;
      |                                 ^~~~~
      |                                 Guid
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h:22:51: note: 'Guid' declared here
   22 | enum PGOCtxProfileRecords { Invalid = 0, Version, Guid, CalleeIndex, Counters };
      |                                                   ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:131:32: error: expected ';' after expression
  131 |     DenseSet<GlobalValue::GUID> Guids;
      |                                ^
      |                                ;
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:131:5: error: use of undeclared identifier 'DenseSet'
  131 |     DenseSet<GlobalValue::GUID> Guids;
      |     ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:132:36: error: use of undeclared identifier 'Guids'
  132 |     Ctxes.at(1U).getContainedGuids(Guids);
      |                                    ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:133:17: error: use of undeclared identifier 'Guids'; did you mean 'Guid'?
  133 |     EXPECT_THAT(Guids,
      |                 ^~~~~
      |                 Guid
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:5496:72: note: expanded from macro 'EXPECT_THAT'
 5496 |       ::testing::internal::MakePredicateFormatterFromMatcher(matcher), value)
      |                                                                        ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:109:36: note: expanded from macro 'EXPECT_PRED_FORMAT1'
  109 |   GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
      |                                    ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:100:34: note: expanded from macro 'GTEST_PRED_FORMAT1_'
  100 |   GTEST_ASSERT_(pred_format(#v1, v1), on_failure)
      |                                  ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTEST_ASSERT_'
   79 |   if (const ::testing::AssertionResult gtest_ar = (expression)) \
      |                                                    ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h:22:51: note: 'Guid' declared here
   22 | enum PGOCtxProfileRecords { Invalid = 0, Version, Guid, CalleeIndex, Counters };
      |                                                   ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:136:5: error: use of undeclared identifier 'Guids'; did you mean 'Guid'?
Step 10 (stage2/asan check) failure: stage2/asan check (failure)
...
[991/1308] Building CXX object unittests/MIR/CMakeFiles/MIRTests.dir/MachineStableHashTest.cpp.o
[992/1308] Building CXX object unittests/Object/CMakeFiles/ObjectTests.dir/DXContainerTest.cpp.o
[993/1308] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/SymbolRemappingReaderTest.cpp.o
[994/1308] Building CXX object unittests/Remarks/CMakeFiles/RemarksTests.dir/BitstreamRemarksParsingTest.cpp.o
[995/1308] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/ItaniumManglingCanonicalizerTest.cpp.o
[996/1308] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/VPIntrinsicTest.cpp.o
[997/1308] Building CXX object unittests/ObjectYAML/CMakeFiles/ObjectYAMLTests.dir/DWARFYAMLTest.cpp.o
[998/1308] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/BPFunctionNodeTest.cpp.o
[999/1308] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/InstrProfDataTest.cpp.o
[1000/1308] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o
FAILED: unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/unittests/ProfileData -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/include -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/include -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googlemock/include -nostdinc++ -isystem /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/include -isystem /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/include/c++/v1 -fsanitize=address -Wl,--rpath=/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/lib -L/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/lib -w -stdlib=libc++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o -MF unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o.d -o unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o -c /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:131:33: error: use of undeclared identifier 'Guids'; did you mean 'Guid'?
  131 |     DenseSet<GlobalValue::GUID> Guids;
      |                                 ^~~~~
      |                                 Guid
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h:22:51: note: 'Guid' declared here
   22 | enum PGOCtxProfileRecords { Invalid = 0, Version, Guid, CalleeIndex, Counters };
      |                                                   ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:131:32: error: expected ';' after expression
  131 |     DenseSet<GlobalValue::GUID> Guids;
      |                                ^
      |                                ;
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:131:5: error: use of undeclared identifier 'DenseSet'
  131 |     DenseSet<GlobalValue::GUID> Guids;
      |     ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:132:36: error: use of undeclared identifier 'Guids'
  132 |     Ctxes.at(1U).getContainedGuids(Guids);
      |                                    ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:133:17: error: use of undeclared identifier 'Guids'; did you mean 'Guid'?
  133 |     EXPECT_THAT(Guids,
      |                 ^~~~~
      |                 Guid
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:5496:72: note: expanded from macro 'EXPECT_THAT'
 5496 |       ::testing::internal::MakePredicateFormatterFromMatcher(matcher), value)
      |                                                                        ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:109:36: note: expanded from macro 'EXPECT_PRED_FORMAT1'
  109 |   GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
      |                                    ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:100:34: note: expanded from macro 'GTEST_PRED_FORMAT1_'
  100 |   GTEST_ASSERT_(pred_format(#v1, v1), on_failure)
      |                                  ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTEST_ASSERT_'
   79 |   if (const ::testing::AssertionResult gtest_ar = (expression)) \
      |                                                    ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h:22:51: note: 'Guid' declared here
   22 | enum PGOCtxProfileRecords { Invalid = 0, Version, Guid, CalleeIndex, Counters };
      |                                                   ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:136:5: error: use of undeclared identifier 'Guids'; did you mean 'Guid'?
Step 13 (stage3/asan check) failure: stage3/asan check (failure)
...
[846/1175] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/ItaniumManglingCanonicalizerTest.cpp.o
[847/1175] Building CXX object unittests/Remarks/CMakeFiles/RemarksTests.dir/BitstreamRemarksSerializerTest.cpp.o
[848/1175] Building CXX object unittests/Remarks/CMakeFiles/RemarksTests.dir/RemarksLinkingTest.cpp.o
[849/1175] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/AlignOfTest.cpp.o
[850/1175] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/DataLayoutTest.cpp.o
[851/1175] Building CXX object unittests/MC/CMakeFiles/MCTests.dir/DwarfLineTableHeaders.cpp.o
[852/1175] Building CXX object unittests/Remarks/CMakeFiles/RemarksTests.dir/YAMLRemarksSerializerTest.cpp.o
[853/1175] Building CXX object unittests/ObjCopy/CMakeFiles/ObjCopyTests.dir/ObjCopyTest.cpp.o
[854/1175] Building CXX object unittests/MIR/CMakeFiles/MIRTests.dir/MachineStableHashTest.cpp.o
[855/1175] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o
FAILED: unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o 
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/unittests/ProfileData -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/include -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/include -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o -MF unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o.d -o unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o -c /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:131:33: error: use of undeclared identifier 'Guids'; did you mean 'Guid'?
  131 |     DenseSet<GlobalValue::GUID> Guids;
      |                                 ^~~~~
      |                                 Guid
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h:22:51: note: 'Guid' declared here
   22 | enum PGOCtxProfileRecords { Invalid = 0, Version, Guid, CalleeIndex, Counters };
      |                                                   ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:131:32: error: expected ';' after expression
  131 |     DenseSet<GlobalValue::GUID> Guids;
      |                                ^
      |                                ;
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:131:5: error: use of undeclared identifier 'DenseSet'
  131 |     DenseSet<GlobalValue::GUID> Guids;
      |     ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:132:36: error: use of undeclared identifier 'Guids'
  132 |     Ctxes.at(1U).getContainedGuids(Guids);
      |                                    ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:133:17: error: use of undeclared identifier 'Guids'; did you mean 'Guid'?
  133 |     EXPECT_THAT(Guids,
      |                 ^~~~~
      |                 Guid
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:5496:72: note: expanded from macro 'EXPECT_THAT'
 5496 |       ::testing::internal::MakePredicateFormatterFromMatcher(matcher), value)
      |                                                                        ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:109:36: note: expanded from macro 'EXPECT_PRED_FORMAT1'
  109 |   GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
      |                                    ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:100:34: note: expanded from macro 'GTEST_PRED_FORMAT1_'
  100 |   GTEST_ASSERT_(pred_format(#v1, v1), on_failure)
      |                                  ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTEST_ASSERT_'
   79 |   if (const ::testing::AssertionResult gtest_ar = (expression)) \
      |                                                    ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h:22:51: note: 'Guid' declared here
   22 | enum PGOCtxProfileRecords { Invalid = 0, Version, Guid, CalleeIndex, Counters };
      |                                                   ^
/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/ProfileData/PGOCtxProfReaderWriterTest.cpp:136:5: error: use of undeclared identifier 'Guids'; did you mean 'Guid'?

```

</details>

https://github.com/llvm/llvm-project/pull/108285


More information about the libcxx-commits mailing list