Home
last modified time | relevance | path

Searched refs:NameToIndex (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-reorder-fields/
DReorderFieldsAction.cpp61 llvm::StringMap<unsigned> NameToIndex; in getNewFieldsOrder() local
63 NameToIndex[Field->getName()] = Field->getFieldIndex(); in getNewFieldsOrder()
65 if (DesiredFieldsOrder.size() != NameToIndex.size()) { in getNewFieldsOrder()
71 if (!NameToIndex.count(Name)) { in getNewFieldsOrder()
75 NewFieldsOrder.push_back(NameToIndex[Name]); in getNewFieldsOrder()
77 assert(NewFieldsOrder.size() == NameToIndex.size()); in getNewFieldsOrder()
/external/llvm-project/clang-tools-extra/clangd/
DHeaders.cpp168 auto R = NameToIndex.try_emplace(Name, RealPathNames.size()); in fileIndex()
181 auto It = NameToIndex.find(Root); in includeDepth()
182 if (It != NameToIndex.end()) { in includeDepth()
DHeaders.h137 llvm::StringMap<unsigned> NameToIndex; // Values are file indexes. variable
/external/llvm-project/lldb/include/lldb/Interpreter/
DOptionValueProperties.h207 typedef UniqueCStringMap<size_t> NameToIndex; typedef
211 NameToIndex m_name_to_index;
/external/llvm-project/llvm/lib/ObjectYAML/
DELFEmitter.cpp470 DenseMap<StringRef, size_t> NameToIndex; in initProgramHeaders() local
474 NameToIndex[Doc.Chunks[I]->Name] = I + 1; in initProgramHeaders()
492 size_t First = NameToIndex[*YamlPhdr.FirstSec]; in initProgramHeaders()
497 size_t Last = NameToIndex[*YamlPhdr.LastSec]; in initProgramHeaders()