Home | History | Annotate | Download | only in clang-format

Lines Matching defs:Error

116 // Returns true on error.
129 llvm::errs() << "error: cannot use -lines with -offset/-length\n";
136 llvm::errs() << "error: invalid <start line>:<end line> pair\n";
140 llvm::errs() << "error: start line should be less than end line\n";
157 << "error: number of -offset and -length arguments must match.\n";
162 llvm::errs() << "error: offset " << Offsets[i]
171 llvm::errs() << "error: invalid length " << Lengths[i]
205 // Returns true on error.
303 bool Error = false;
306 Error = clang::format::format("-");
309 Error = clang::format::format(FileNames[0]);
313 llvm::errs() << "error: -offset, -length and -lines can only be used for "
318 Error |= clang::format::format(FileNames[i]);
321 return Error ? 1 : 0;