Lines Matching refs:CmdlineDef
2504 for (StringRef CmdlineDef : CmdlineDefines) { in defineCmdlineVariables() local
2506 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() local
2541 if (CmdlineDef.empty()) { in defineCmdlineVariables()
2544 ErrorDiagnostic::get(SM, CmdlineDef, in defineCmdlineVariables()
2550 if (CmdlineDef[0] == '#') { in defineCmdlineVariables()
2553 StringRef CmdlineDefExpr = CmdlineDef.substr(1); in defineCmdlineVariables()
2581 std::pair<StringRef, StringRef> CmdlineNameVal = CmdlineDef.split('='); in defineCmdlineVariables()