Home
last modified time | relevance | path

Searched refs:IDs (Results 1 – 25 of 106) sorted by relevance

12345

/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DInternals.h33 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
34 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const;
75 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
80 unsigned IDs[] = { ID1, ID2 }; in clearDiagnostic() local
81 return clearDiagnostic(IDs, range); in clearDiagnostic()
85 unsigned IDs[] = { ID1, ID2, ID3 }; in clearDiagnostic() local
86 return clearDiagnostic(IDs, range); in clearDiagnostic()
94 unsigned IDs[] = { ID1, ID2 }; in hasDiagnostic() local
95 return CapturedDiags.hasDiagnostic(IDs, range); in hasDiagnostic()
H A DTransformActions.cpp145 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
164 void commitClearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
369 bool TransformActionsImpl::clearDiagnostic(ArrayRef<unsigned> IDs, in clearDiagnostic() argument
372 if (!CapturedDiags.hasDiagnostic(IDs, range)) in clearDiagnostic()
378 data.DiagIDs.append(IDs.begin(), IDs.end()); in clearDiagnostic()
501 void TransformActionsImpl::commitClearDiagnostic(ArrayRef<unsigned> IDs, in commitClearDiagnostic() argument
503 CapturedDiags.clearDiagnostic(IDs, range); in commitClearDiagnostic()
671 bool TransformActions::clearDiagnostic(ArrayRef<unsigned> IDs, in clearDiagnostic() argument
673 return static_cast<TransformActionsImpl*>(Impl)->clearDiagnostic(IDs, range); in clearDiagnostic()
H A DARCMT.cpp29 bool CapturedDiagList::clearDiagnostic(ArrayRef<unsigned> IDs, in clearDiagnostic() argument
38 if ((IDs.empty() || // empty means clear all diagnostics in the range. in clearDiagnostic()
39 llvm::is_contained(IDs, I->getID())) && in clearDiagnostic()
59 bool CapturedDiagList::hasDiagnostic(ArrayRef<unsigned> IDs, in hasDiagnostic() argument
67 if ((IDs.empty() || // empty means any diagnostic in the range. in hasDiagnostic()
68 llvm::is_contained(IDs, I->getID())) && in hasDiagnostic()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/marshalling/
H A DMarshalling.cpp46 for (const auto &ID : IDs) { in getIDs()
82 if (!IDs) in fromProtobuf()
83 return IDs.takeError(); in fromProtobuf()
84 Req.IDs = std::move(*IDs); in fromProtobuf()
116 if (!IDs) in fromProtobuf()
117 return IDs.takeError(); in fromProtobuf()
118 Req.IDs = std::move(*IDs); in fromProtobuf()
133 if (!IDs) in fromProtobuf()
134 return IDs.takeError(); in fromProtobuf()
135 Req.Subjects = std::move(*IDs); in fromProtobuf()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/dexp/
H A DDexp.cpp191 std::vector<SymbolID> IDs; in run() local
198 IDs.push_back(*SID); in run()
200 IDs = getSymbolIDsFromIndex(Name, Index); in run()
204 Request.IDs.insert(IDs.begin(), IDs.end()); in run()
238 std::vector<SymbolID> IDs; in run() local
245 IDs.push_back(*SID); in run()
247 IDs = getSymbolIDsFromIndex(Name, Index); in run()
248 if (IDs.size() > 1) { in run()
252 Name, IDs.size()); in run()
257 RefRequest.IDs.insert(IDs.begin(), IDs.end()); in run()
/llvm-project-15.0.7/bolt/include/bolt/Utils/
H A DNameShortener.h23 StringMap<uint64_t> IDs; variable
27 return IDs.insert({Name, IDs.size()}).first->getValue(); in getID()
/llvm-project-15.0.7/llvm/test/tools/llvm-profdata/
H A Dbinary-ids-padding.test15 // There will be 2 20-byte binary IDs, so the total Binary IDs size will be 64 bytes.
17 // + 2 * 20 binary IDs (of size 20)
31 // Binary IDs - There are only two in this case that are 20 bytes.
70 // CHECK: Binary IDs:
H A Dinsufficient-binary-ids-size.test4 // enough to hold this binary IDs size. NOTE that this (combined with the 8-byte
5 // alignment requirement for binary IDs size) will ensure we can at least read one
6 // 8-byte size if the binary IDs are provided.
H A Dmisaligned-binary-ids-size.test3 // We should fail on this because the binary IDs is not a multiple of 8 bytes.
14 // Binary IDs - There are only two in this case that are 20 bytes.
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DPDBStringTable.cpp66 if (auto EC = Reader.readArray(IDs, *HashCount)) { in readHashTable()
115 size_t Count = IDs.size(); in getIDForString()
124 uint32_t ID = IDs[Index]; in getIDForString()
138 return IDs; in name_ids()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/remote/
H A DMarshallingTests.cpp300 Request.IDs.insert(llvm::cantFail(SymbolID::fromStr("0000000000000001"))); in TEST()
301 Request.IDs.insert(llvm::cantFail(SymbolID::fromStr("0000000000000002"))); in TEST()
306 EXPECT_EQ(static_cast<unsigned>(Serialized.ids_size()), Request.IDs.size()); in TEST()
309 EXPECT_EQ(Deserialized->IDs, Request.IDs); in TEST()
339 Request.IDs.insert(llvm::cantFail(SymbolID::fromStr("0000000000000001"))); in TEST()
340 Request.IDs.insert(llvm::cantFail(SymbolID::fromStr("0000000000000002"))); in TEST()
348 EXPECT_EQ(static_cast<unsigned>(Serialized.ids_size()), Request.IDs.size()); in TEST()
352 EXPECT_EQ(Deserialized->IDs, Request.IDs); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DTestIndex.cpp137 llvm::ArrayRef<SymbolID> IDs) { in lookup() argument
139 Req.IDs.insert(IDs.begin(), IDs.end()); in lookup()
H A DSourceCodeTests.cpp329 auto IDs = collectIdentifiers(R"cpp( in TEST() local
334 EXPECT_EQ(IDs.size(), 7u); in TEST()
335 EXPECT_EQ(IDs["include"], 1u); in TEST()
336 EXPECT_EQ(IDs["void"], 1u); in TEST()
337 EXPECT_EQ(IDs["int"], 2u); in TEST()
338 EXPECT_EQ(IDs["xyz"], 2u); in TEST()
339 EXPECT_EQ(IDs["abc"], 1u); in TEST()
340 EXPECT_EQ(IDs["return"], 1u); in TEST()
341 EXPECT_EQ(IDs["foo"], 2u); in TEST()
/llvm-project-15.0.7/llvm/test/Linker/
H A Dstack-alignment.ll6 ; NONE: error: linking module flags 'override-stack-alignment': IDs have conflicting values
7 ; CHECK-16: error: linking module flags 'override-stack-alignment': IDs have conflicting values
H A Dmodule-max-warn.ll3 ; CHECK: warning: linking module flags 'Combine Max and Warn': IDs have conflicting values ('i32 4'…
4 ; CHECK: warning: linking module flags 'Combine Warn and Max': IDs have conflicting values ('i32 5'…
H A Dstack-protector-guard-module-attrs.ll7 ; CHECK-KIND: error: linking module flags 'stack-protector-guard': IDs have conflicting values
8 ; CHECK-REG: error: linking module flags 'stack-protector-guard-reg': IDs have conflicting values
9 ; CHECK-OFFSET: error: linking module flags 'stack-protector-guard-offset': IDs have conflicting va…
H A Dmetadata-mismatch.test3 ; CHECK: warning: linking module flags 'Dwarf Version': IDs have conflicting values ('i32 5' from {…
H A Dmodule-flags-7-a.ll5 ; CHECK: linking module flags 'foo': IDs have conflicting behaviors in '{{.*}}module-flags-7-b.ll' …
H A Dmodule-flags-5-a.ll5 ; CHECK: linking module flags 'foo': IDs have conflicting override values in '{{.*}}module-flags-5-…
H A Dmodule-flags-6-a.ll5 ; CHECK: linking module flags 'foo': IDs have conflicting values in '{{.*}}module-flags-6-b.ll' and…
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DMemIndex.cpp61 for (const auto &ID : Req.IDs) { in lookup()
72 for (const auto &ReqID : Req.IDs) { in refs()
100 LookupReq.IDs.insert(Obj); in relations()
H A DIndex.h65 llvm::DenseSet<SymbolID> IDs; member
69 llvm::DenseSet<SymbolID> IDs; member
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DTypeBitCodes.def9 // This file provides an x-macro link between AST Type IDs and
10 // their stable serialized bit-code record type IDs.
/llvm-project-15.0.7/llvm/tools/verify-uselistorder/
H A Dverify-uselistorder.cpp84 DenseMap<const Value *, unsigned> IDs; member
104 unsigned lookup(const Value *V) const { return IDs.lookup(V); } in lookup()
238 if (IDs.lookup(V)) in map()
247 IDs[V] = Values.size(); in map()
265 << ", user-id = " << M.IDs.lookup(U.getUser()) << ", user = "; in debugValue()
/llvm-project-15.0.7/lldb/source/Breakpoint/
H A DWatchpointList.cpp160 std::vector<lldb::watch_id_t> IDs; in GetWatchpointIDs() local
163 IDs.push_back((*pos)->GetID()); in GetWatchpointIDs()
164 return IDs; in GetWatchpointIDs()

12345