Home
last modified time | relevance | path

Searched refs:fixit (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangDiagnostic.h39 void AddFixitHint(const clang::FixItHint &fixit) { in AddFixitHint() argument
40 m_fixit_vec.push_back(fixit); in AddFixitHint()
H A DClangExpressionParser.cpp1382 static void ApplyFixIt(const FixItHint &fixit, clang::edit::Commit &commit) { in ApplyFixIt() argument
1384 if (fixit.CodeToInsert.empty()) { in ApplyFixIt()
1385 if (fixit.InsertFromRange.isValid()) { in ApplyFixIt()
1386 commit.insertFromRange(fixit.RemoveRange.getBegin(), in ApplyFixIt()
1387 fixit.InsertFromRange, /*afterToken=*/false, in ApplyFixIt()
1388 fixit.BeforePreviousInsertions); in ApplyFixIt()
1391 commit.remove(fixit.RemoveRange); in ApplyFixIt()
1394 if (fixit.RemoveRange.isTokenRange() || in ApplyFixIt()
1395 fixit.RemoveRange.getBegin() != fixit.RemoveRange.getEnd()) { in ApplyFixIt()
1396 commit.replace(fixit.RemoveRange, fixit.CodeToInsert); in ApplyFixIt()
[all …]
/freebsd/usr.sbin/crunch/
H A DREADME25 on boot, install, and fixit floppies. A crunched binary in this case is
31 As an example, I have created an 980K crunched "fixit" binary containing
44 easily with a kernel for a decent one-disk fixit filesystem.
82 was good to put on your fixit or install disks. Thanks!
/freebsd/usr.bin/rpcgen/
H A Drpc_util.c120 fixit(const char *type, const char *orig) in fixit() function
136 return (fixit(def->def.ty.old_type, orig)); in fixit()
145 return (fixit(type, type)); in fixtype()
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DFixIt.cpp18 namespace fixit { namespace
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp221 for (const auto &fixit : fixits) { in EmitFixits() local
222 assert(!fixit.isNull()); in EmitFixits()
224 assert(!fixit.InsertFromRange.isValid() && "Not implemented yet!"); in EmitFixits()
225 assert(!fixit.BeforePreviousInsertions && "Not implemented yet!"); in EmitFixits()
228 EmitRange(o, SM, Lexer::getAsCharRange(fixit.RemoveRange, SM, LangOpts), in EmitFixits()
231 EmitString(o, fixit.CodeToInsert); in EmitFixits()
/freebsd/usr.sbin/crunch/examples/
H A DMakefile1 CRUNCHED= fixit
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/
H A DFixIt.h26 namespace fixit {
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DUserExpression.cpp333 std::string fixit = in Evaluate() local
335 diagnostic_manager.AddDiagnostic(fixit, lldb::eSeverityInfo, in Evaluate()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticOptions.def56 DIAGOPT(ShowFixits, 1, 1) /// Show fixit information.
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td2079 def fdiagnostics_fixit_info : Flag<["-"], "fdiagnostics-fixit-info">, Group<f_clang_Group>;
2080 def fno_diagnostics_fixit_info : Flag<["-"], "fno-diagnostics-fixit-info">, Group<f_Group>,
2082 HelpText<"Do not include fixit information in diagnostics">,
8198 def fixit : Flag<["-"], "fixit">,
8200 def fixit_EQ : Joined<["-"], "fixit=">,
8294 def fixit_recompile : Flag<["-"], "fixit-recompile">,
8297 def fixit_to_temp : Flag<["-"], "fixit-to-temporary">,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp7493 FixItHint fixit = in HandleInvalidAmount() local
7504 fixit); in HandleInvalidAmount()