Lines Matching refs:make_string_error
334 static Error make_string_error(const char *Format, Args &&... args) { in make_string_error() function
456 return make_string_error("Context search didn't find a match."); in getDeclContext()
458 return make_string_error("Context search found multiple matches."); in getDeclContext()
622 return make_string_error("Multiple compile units for file `{0}` found.", in findVariables()
628 return make_string_error("Compile unit `{0}` not found.", File); in findVariables()
660 return make_string_error("Module has no symbol file."); in dumpAST()
665 return make_string_error("Can't retrieve TypeSystemClang"); in dumpAST()
670 return make_string_error("Retrieved TypeSystem was not a TypeSystemClang"); in dumpAST()
676 return make_string_error("Can't retrieve translation unit declaration."); in dumpAST()
688 return make_string_error("Module has no symbol file."); in dumpEntireClangAST()
693 return make_string_error("Can't retrieve TypeSystemClang"); in dumpEntireClangAST()
697 return make_string_error("Retrieved TypeSystem was not a TypeSystemClang"); in dumpEntireClangAST()
709 return make_string_error("Module has no symbol file."); in verify()
718 return make_string_error("Cannot parse compile unit {0}.", i); in verify()
726 return make_string_error("Can't get a line table of a compile unit."); in verify()
737 return make_string_error("Can't get a line entry of a compile unit."); in verify()
744 return make_string_error("Can't get a line entry of a compile unit"); in verify()
747 return make_string_error( in verify()
759 return make_string_error( in getAction()
764 return make_string_error( in getAction()
768 return make_string_error( in getAction()
776 return make_string_error("Cannot both search and dump AST."); in getAction()
779 return make_string_error( in getAction()
788 return make_string_error( in getAction()
795 return make_string_error("This combination of -dump-clang-ast and -find " in getAction()
800 return make_string_error( in getAction()
804 return make_string_error("`{0}` is not a valid regular expression.", Name); in getAction()
807 return make_string_error( in getAction()
810 return make_string_error("-regex used without a -name"); in getAction()
815 return make_string_error( in getAction()
821 return make_string_error("Both file name and line number must be " in getAction()
825 return make_string_error("Only one of regular expression, function-flags " in getAction()
832 return make_string_error("Both file name and line number must be " in getAction()
835 return make_string_error("Cannot use regular expression or " in getAction()
841 return make_string_error("Cannot search for namespaces using regular " in getAction()
847 return make_string_error("Cannot search for types using regular " in getAction()
850 return make_string_error("Name is ignored if compiler context present."); in getAction()
856 return make_string_error("Cannot search for variables " in getAction()
867 return make_string_error("Mangling preference set but no regex specified."); in validate()