Searched refs:CmdlineDef (Results 1 – 2 of 2) sorted by relevance
1767 for (StringRef CmdlineDef : CmdlineDefines) { in defineCmdlineVariables() local1769 size_t EqIdx = CmdlineDef.find('='); in defineCmdlineVariables()1775 if (CmdlineDef[0] == '#') { in defineCmdlineVariables()1779 CmdlineDefsDiag += (DefPrefix + CmdlineDef + " (parsed as: [[").str(); in defineCmdlineVariables()1780 std::string SubstitutionStr = CmdlineDef; in defineCmdlineVariables()1788 std::make_pair(CmdlineDefsDiag.size(), CmdlineDef.size())); in defineCmdlineVariables()1789 CmdlineDefsDiag += (CmdlineDef + "\n").str(); in defineCmdlineVariables()1802 StringRef CmdlineDef = CmdlineDefsDiagRef.substr(CmdlineDefIndices.first, in defineCmdlineVariables() local1804 if (CmdlineDef.empty()) { in defineCmdlineVariables()1807 ErrorDiagnostic::get(SM, CmdlineDef, in defineCmdlineVariables()[all …]
2504 for (StringRef CmdlineDef : CmdlineDefines) { in defineCmdlineVariables() local2506 size_t EqIdx = CmdlineDef.find('='); in defineCmdlineVariables()2512 if (CmdlineDef[0] == '#') { in defineCmdlineVariables()2516 CmdlineDefsDiag += (DefPrefix + CmdlineDef + " (parsed as: [[").str(); in defineCmdlineVariables()2517 std::string SubstitutionStr = std::string(CmdlineDef); in defineCmdlineVariables()2525 std::make_pair(CmdlineDefsDiag.size(), CmdlineDef.size())); in defineCmdlineVariables()2526 CmdlineDefsDiag += (CmdlineDef + "\n").str(); in defineCmdlineVariables()2539 StringRef CmdlineDef = CmdlineDefsDiagRef.substr(CmdlineDefIndices.first, in defineCmdlineVariables() local2541 if (CmdlineDef.empty()) { in defineCmdlineVariables()2544 ErrorDiagnostic::get(SM, CmdlineDef, in defineCmdlineVariables()[all …]