Searched refs:pIdx (Results 1 – 3 of 3) sorted by relevance
38 DiagnosticEngine::ArgumentKind getArgKind(unsigned int pIdx) const { in getArgKind() argument39 assert(pIdx < getNumArgs() && "Argument index is out of range!"); in getArgKind()40 return (DiagnosticEngine::ArgumentKind)m_Engine.state().ArgumentKinds[pIdx]; in getArgKind()43 const std::string &getArgStdStr(unsigned int pIdx) const { in getArgStdStr() argument44 assert(getArgKind(pIdx) == DiagnosticEngine::ak_std_string && in getArgStdStr()46 return m_Engine.state().ArgumentStrs[pIdx]; in getArgStdStr()49 const char* getArgCStr(unsigned int pIdx) const { in getArgCStr() argument50 assert(getArgKind(pIdx) == DiagnosticEngine::ak_c_string && in getArgCStr()52 return reinterpret_cast<const char*>(m_Engine.state().ArgumentVals[pIdx]); in getArgCStr()55 int getArgSInt(unsigned int pIdx) const { in getArgSInt() argument[all …]
54 const LDSection* getSection(unsigned int pIdx) const;55 LDSection* getSection(unsigned int pIdx);66 const LDSymbol* getSymbol(unsigned int pIdx) const;67 LDSymbol* getSymbol(unsigned int pIdx);
28 LDSection* LDContext::getSection(unsigned int pIdx) in getSection() argument30 if (pIdx >= m_SectionTable.size()) in getSection()32 return m_SectionTable[pIdx]; in getSection()35 const LDSection* LDContext::getSection(unsigned int pIdx) const in getSection()37 if (pIdx >= m_SectionTable.size()) in getSection()39 return m_SectionTable[pIdx]; in getSection()72 LDSymbol* LDContext::getSymbol(unsigned int pIdx) in getSymbol() argument74 if (pIdx >= m_SymTab.size()) in getSymbol()76 return m_SymTab[pIdx]; in getSymbol()79 const LDSymbol* LDContext::getSymbol(unsigned int pIdx) const in getSymbol()[all …]