Lines Matching refs:ToString

65       auto it{args.find(tok.ToString())};  in Tokenize()
199 token.ToString() == "__VA_ARGS__") { in Apply()
209 } else if (bytes == 10 && isVariadic_ && token.ToString() == "__VA_OPT__" && in Apply()
210 j + 2 < tokens && replacement_.TokenAt(j + 1).ToString() == "(" && in Apply()
293 std::string name{def.replacement().TokenAt(0).ToString()}; in MacroReplacement()
320 allSources_.AddMacroCall(from, use, replaced.ToString())}; in MacroReplacement()
382 allSources_.AddMacroCall(from, use, replaced.ToString())}; in MacroReplacement()
404 if (dir.TokenAt(j).ToString() != "#") { in Directive()
419 std::string dirName{ToLowerCaseLetters(dir.TokenAt(dirOffset).ToString())}; in Directive()
440 if (dir.TokenAt(j).ToString() != ")") { in Directive()
442 std::string an{dir.TokenAt(j).ToString()}; in Directive()
459 std::string punc{dir.TokenAt(j).ToString()}; in Directive()
569 "%s"_err_en_US, dir.ToString()); in Directive()
573 "%s"_warn_en_US, dir.ToString()); in Directive()
577 "%s"_en_US, dir.ToString()); in Directive()
587 if (dir.TokenAt(j).ToString() == "<") { // #include <foo> in Directive()
602 include = ReplaceMacros(braced, prescanner).ToString(); in Directive()
604 } else if ((include = dir.TokenAt(j).ToString()).substr(0, 1) == "\"" && in Directive()
624 if (j < tokens && dir.TokenAt(j).ToString() != "!") { in Directive()
649 names_.push_back(t.ToString()); in SaveTokenAsName()
661 if (j == tokens || line.TokenAt(j).ToString() != "#") { in GetDirectiveName()
671 return ToLowerCaseLetters(line.TokenAt(j).ToString()); in GetDirectiveName()
813 std::string t{token.TokenAt(opAt).ToString()}; in ExpressionValue()
836 ToLowerCaseLetters(token.TokenAt(*atToken + 1).ToString()) == "not" && in ExpressionValue()
837 token.TokenAt(*atToken + 2).ToString() == ".") { in ExpressionValue()
863 if (*atToken < tokens && token.TokenAt(*atToken).ToString() == ")") { in ExpressionValue()
897 t = token.TokenAt(*atToken).ToString(); in ExpressionValue()
899 token.TokenAt(*atToken + 2).ToString() == ".") { in ExpressionValue()
900 t += ToLowerCaseLetters(token.TokenAt(*atToken + 1).ToString()) + '.'; in ExpressionValue()
1033 if (*atToken >= tokens || token.TokenAt(*atToken).ToString() != ":") { in ExpressionValue()
1062 if (ToLowerCaseLetters(expr1.TokenAt(j).ToString()) == "defined") { in IsIfPredicateTrue()
1065 expr1.TokenAt(j + 1).ToString() == "(" && in IsIfPredicateTrue()
1066 expr1.TokenAt(j + 3).ToString() == ")") { in IsIfPredicateTrue()
1095 expr3.TokenAt(atToken).ToString() != "!") { in IsIfPredicateTrue()