reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  540               ElementsAre(Field(&CodeCompletion::Name, "int"),
  541                           Field(&CodeCompletion::Name, "main")));
  880   EXPECT_THAT(Completions, ElementsAre(Field(&CodeCompletion::Name, "bar")));
  889   EXPECT_THAT(Completions, ElementsAre(Field(&CodeCompletion::Name, "bar"),
  890                                        Field(&CodeCompletion::Name, "baz")));
  958               ElementsAre(Field(&CodeCompletion::Name, "TestSym")));
 1010               ElementsAre(AllOf(Field(&CodeCompletion::Name, "xyz"),
 1011                                 Field(&CodeCompletion::Scope, ""))));
 1019       ElementsAre(AllOf(Field(&CodeCompletion::Name, "xyz"),
 1020                         Field(&CodeCompletion::Scope, "ns::"))));
 1026       ElementsAre(AllOf(Field(&CodeCompletion::Name, "xyz"),
 1027                         Field(&CodeCompletion::Scope, ""))));
 1084               ElementsAre(AllOf(Field(&CodeCompletion::Name, "xyz"),
 1085                                 Field(&CodeCompletion::Scope, "ns::"))));
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
 1220               ElementsAre(Field(&FuzzyFindRequest::Scopes,
 1240               ElementsAre(Field(
 1263               ElementsAre(Field(
 1280               ElementsAre(Field(
 1296   EXPECT_THAT(Requests, ElementsAre(Field(&FuzzyFindRequest::Scopes,
 1309   EXPECT_THAT(Requests, ElementsAre(Field(&FuzzyFindRequest::Scopes,
 1322   EXPECT_THAT(Requests, ElementsAre(Field(&FuzzyFindRequest::Scopes,
 1339               ElementsAre(Field(&FuzzyFindRequest::Scopes,
tools/clang/tools/extra/clangd/unittests/DiagnosticsTests.cpp
   38   return Field(&Diag::Fixes, ElementsAre(FixMatcher));
   43   return Field(&Diag::Fixes, UnorderedElementsAre(FixMatcher1, FixMatcher2));
   48   return Field(&Diag::Notes, ElementsAre(NoteMatcher));
tools/clang/tools/extra/clangd/unittests/ExpectedTypeTest.cpp
   58       Elements.push_back(Field(&MapEntry::second, Cls));
tools/clang/tools/extra/clangd/unittests/FindSymbolsTests.cpp
   47   return Field(&DocumentSymbol::children, ElementsAre(ChildrenM...));
tools/clang/tools/extra/clangd/unittests/IndexActionTests.cpp
   43   return ::testing::Field(&IncludeGraphNode::DirectIncludes,
tools/clang/tools/extra/clangd/unittests/SymbolCollectorTests.cpp
 1225                            Field(&Symbol::Origin, SymbolOrigin::Static)));
tools/clang/tools/extra/clangd/unittests/TUSchedulerTests.cpp
  772           Field(&Diag::ID, Eq(diag::err_drv_unknown_argument)),
  773           Field(&Diag::Name, Eq("drv_unknown_argument")),
  774           Field(&Diag::Message, "unknown argument: '-fsome-unknown-flag'"))));
tools/clang/tools/extra/clangd/unittests/TypeHierarchyTests.cpp
   45   return Field(&TypeHierarchyItem::parents,
   50   return Field(&TypeHierarchyItem::children,
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
   73   return AllOf(Field(&TokenBuffer::Expansion::Spelled, Spelled),
   74                Field(&TokenBuffer::Expansion::Expanded, Expanded));
tools/lldb/unittests/Core/UniqueCStringMapTest.cpp
   43               testing::Pointee(testing::Field(&EntryT::value, NoDefault(42))));
tools/lldb/unittests/Utility/RangeMapTest.cpp
   19   return testing::Pointee(testing::Field(&EntryT::data, ID));
unittests/XRay/FDRBlockIndexerTest.cpp
   70               ElementsAre(Field(&BlockIndexer::Block::Records, SizeIs(6u)),
   71                           Field(&BlockIndexer::Block::Records, SizeIs(6u))));
   74   EXPECT_THAT(T2Blocks->second, ElementsAre(Field(&BlockIndexer::Block::Records,
unittests/XRay/FDRTraceWriterTest.cpp
   65   EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::FuncId, Eq(1)),
   66                                  Field(&XRayRecord::FuncId, Eq(1))));
   67   EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::TId, Eq(1u)),
   68                                  Field(&XRayRecord::TId, Eq(1u))));
   69   EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::PId, Eq(1u)),
   70                                  Field(&XRayRecord::PId, Eq(1u))));
   71   EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::CPU, Eq(1u)),
   72                                  Field(&XRayRecord::CPU, Eq(1u))));
   74               ElementsAre(Field(&XRayRecord::Type, Eq(RecordTypes::ENTER)),
   75                           Field(&XRayRecord::Type, Eq(RecordTypes::EXIT))));
  110   EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::FuncId, Eq(1)),
  111                                  Field(&XRayRecord::FuncId, Eq(1))));
  112   EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::TId, Eq(1u)),
  113                                  Field(&XRayRecord::TId, Eq(1u))));
  114   EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::CPU, Eq(1u)),
  115                                  Field(&XRayRecord::CPU, Eq(1u))));
  117               ElementsAre(Field(&XRayRecord::Type, Eq(RecordTypes::ENTER)),
  118                           Field(&XRayRecord::Type, Eq(RecordTypes::EXIT))));
  169   EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::FuncId, Eq(1)),
  170                                  Field(&XRayRecord::FuncId, Eq(1))));
  171   EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::TId, Eq(1u)),
  172                                  Field(&XRayRecord::TId, Eq(1u))));
  173   EXPECT_THAT(Trace, ElementsAre(Field(&XRayRecord::CPU, Eq(1u)),
  174                                  Field(&XRayRecord::CPU, Eq(1u))));
  176               ElementsAre(Field(&XRayRecord::Type, Eq(RecordTypes::ENTER)),
  177                           Field(&XRayRecord::Type, Eq(RecordTypes::EXIT))));
unittests/XRay/ProfileTest.cpp
   74               Field(&Profile::Block::Thread, Eq(Profile::ThreadID{1})),
   75               Field(&Profile::Block::PathData,
   78                              AllOf(Field(&Profile::Data::CallCount, Eq(1u)),
   79                                    Field(&Profile::Data::CumulativeLocalTime,
   82                              AllOf(Field(&Profile::Data::CallCount, Eq(10u)),
   83                                    Field(&Profile::Data::CumulativeLocalTime,
   98               Field(&Profile::Block::Thread, Eq(Profile::ThreadID{1})),
   99               Field(&Profile::Block::PathData,
  102                              AllOf(Field(&Profile::Data::CallCount, Eq(1u)),
  103                                    Field(&Profile::Data::CumulativeLocalTime,
  106                              AllOf(Field(&Profile::Data::CallCount, Eq(10u)),
  107                                    Field(&Profile::Data::CumulativeLocalTime,
  138           AllOf(Field(&Profile::Block::Thread, Eq(Profile::ThreadID{1})),
  139                 Field(&Profile::Block::PathData,
  142                                AllOf(Field(&Profile::Data::CallCount, Eq(2u)),
  143                                      Field(&Profile::Data::CumulativeLocalTime,
  146                                AllOf(Field(&Profile::Data::CallCount, Eq(1u)),
  147                                      Field(&Profile::Data::CumulativeLocalTime,
  149           AllOf(Field(&Profile::Block::Thread, Eq(Profile::ThreadID{2})),
  150                 Field(&Profile::Block::PathData,
  153                                AllOf(Field(&Profile::Data::CallCount, Eq(2u)),
  154                                      Field(&Profile::Data::CumulativeLocalTime,
  157                                AllOf(Field(&Profile::Data::CallCount, Eq(1u)),
  158                                      Field(&Profile::Data::CumulativeLocalTime,
  176                   Field(&Profile::Block::Thread, Eq(Profile::ThreadID{0})),
  177                   Field(&Profile::Block::PathData,
  180                             AllOf(Field(&Profile::Data::CallCount, Eq(2u)),
  181                                   Field(&Profile::Data::CumulativeLocalTime,
  202                   Field(&Profile::Block::Thread, Eq(Profile::ThreadID{0})),
  203                   Field(&Profile::Block::PathData,
  206                             AllOf(Field(&Profile::Data::CallCount, Eq(3u)),
  207                                   Field(&Profile::Data::CumulativeLocalTime,
  238           AllOf(Field(&Profile::Block::Thread, Eq(Profile::ThreadID{1})),
  239                 Field(&Profile::Block::PathData,
  242                                AllOf(Field(&Profile::Data::CallCount, Eq(2u)),
  243                                      Field(&Profile::Data::CumulativeLocalTime,
  246                                AllOf(Field(&Profile::Data::CallCount, Eq(1u)),
  247                                      Field(&Profile::Data::CumulativeLocalTime,
  249           AllOf(Field(&Profile::Block::Thread, Eq(Profile::ThreadID{2})),
  250                 Field(&Profile::Block::PathData,
  253                                AllOf(Field(&Profile::Data::CallCount, Eq(2u)),
  254                                      Field(&Profile::Data::CumulativeLocalTime,
  257                                AllOf(Field(&Profile::Data::CallCount, Eq(1u)),
  258                                      Field(&Profile::Data::CumulativeLocalTime,
unittests/tools/llvm-cfi-verify/FileAnalysis.cpp
  424                          Field(&Instr::VMAddress, Eq(0xDEADBEEF)),
  425                          Field(&Instr::VMAddress, Eq(0xDEADBEEF + 31)),
  426                          Field(&Instr::VMAddress, Eq(0xDEADBEEF + 34))));
  431                          Field(&Instr::VMAddress, Eq(0xDEADBEEF + 1)),
  432                          Field(&Instr::VMAddress, Eq(0xDEADBEEF + 36))));
  437                          Field(&Instr::VMAddress, Eq(0xDEADBEEF + 38))));
  449                          Field(&Instr::VMAddress, Eq(0xDEADBEEF + 8))));
  458                          Field(&Instr::VMAddress, Eq(0xDEADBEEF + 10)),
  459                          Field(&Instr::VMAddress, Eq(0xDEADBEEF + 12))));
  476                          Field(&Instr::VMAddress, Eq(0xDEADBEEF + 22)),
  477                          Field(&Instr::VMAddress, Eq(0xDEADBEEF + 29))));
  482                          Field(&Instr::VMAddress, Eq(0xDEADBEEF + 31))));
unittests/tools/llvm-cfi-verify/GraphBuilder.cpp
  166               Each(Field(&ConditionalBranchNode::CFIProtection, Eq(true))));
  169       Contains(AllOf(Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF)),
  170                      Field(&ConditionalBranchNode::Target,
  172                      Field(&ConditionalBranchNode::Fallthrough,
  193               Each(Field(&ConditionalBranchNode::CFIProtection, Eq(true))));
  196       Contains(AllOf(Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF)),
  197                      Field(&ConditionalBranchNode::Target,
  199                      Field(&ConditionalBranchNode::Fallthrough,
  223               Each(Field(&ConditionalBranchNode::CFIProtection, Eq(true))));
  227           Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF)),
  228           Field(&ConditionalBranchNode::Fallthrough,
  230           Field(&ConditionalBranchNode::Target,
  236           Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF + 7)),
  237           Field(&ConditionalBranchNode::Fallthrough,
  239           Field(&ConditionalBranchNode::Target,
  262               Each(Field(&ConditionalBranchNode::CFIProtection, Eq(true))));
  266           Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF)),
  267           Field(&ConditionalBranchNode::Fallthrough,
  269           Field(&ConditionalBranchNode::Target,
  275           Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF + 5)),
  276           Field(&ConditionalBranchNode::Fallthrough,
  278           Field(&ConditionalBranchNode::Target,
  337       Each(AllOf(Field(&ConditionalBranchNode::CFIProtection, Eq(false)),
  338                  Field(&ConditionalBranchNode::Target,
  340                  Field(&ConditionalBranchNode::Fallthrough,
  362           AllOf(Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF)),
  363                 Field(&ConditionalBranchNode::Fallthrough,
  365                 Field(&ConditionalBranchNode::Target,
  439           Field(&ConditionalBranchNode::CFIProtection, Eq(false)),
  440           Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF)),
  441           Field(&ConditionalBranchNode::Target,
  443           Field(&ConditionalBranchNode::Fallthrough,
  472           Field(&ConditionalBranchNode::CFIProtection, Eq(true)),
  473           Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF)),
  474           Field(&ConditionalBranchNode::Target,
  476           Field(&ConditionalBranchNode::Fallthrough,
  482           Field(&ConditionalBranchNode::CFIProtection, Eq(true)),
  483           Field(&ConditionalBranchNode::Address, Eq(0xDEADBEEF + 5)),
  484           Field(&ConditionalBranchNode::Target,
  486           Field(&ConditionalBranchNode::Fallthrough,
  562                   Field(&ConditionalBranchNode::CFIProtection, Eq(true)),
  563                   Field(&ConditionalBranchNode::Address, Eq(0x1000u)),
  564                   Field(&ConditionalBranchNode::Target,
  567                   Field(&ConditionalBranchNode::Fallthrough,
  574                   Field(&ConditionalBranchNode::CFIProtection, Eq(true)),
  575                   Field(&ConditionalBranchNode::Address, Eq(0x1000u + 4)),
  576                   Field(&ConditionalBranchNode::Target,
  578                   Field(&ConditionalBranchNode::Fallthrough,
  585       Contains(AllOf(Field(&ConditionalBranchNode::CFIProtection, Eq(false)),
  586                      Field(&ConditionalBranchNode::Address, Eq(0x1000u + 13)),
  587                      Field(&ConditionalBranchNode::Target,
  589                      Field(&ConditionalBranchNode::Fallthrough,
unittests/tools/llvm-exegesis/ClusteringTest.cpp
   26   return Field(&InstructionBenchmarkClustering::Cluster::PointIndices,
unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
  356   return testing::AllOf(testing::Field(&RegisterValue::Register, Reg),
  357                         testing::Field(&RegisterValue::Value, Value));
unittests/tools/llvm-exegesis/X86/SnippetRepetitorTest.cpp
   66   return Field(&MachineBasicBlock::RegisterMaskPair::PhysReg, Eq(Reg));