Lines Matching refs:Code
38 /// \brief Annotates a diagnostic with some code that should be
43 /// amount of code will correct a compilation error. The compiler
49 /// \brief Code that should be replaced to correct the error. Empty for an
53 /// \brief The actual code to insert at the insertion location, as a
57 /// \brief Empty code modification hint, indicating that no code
65 /// \brief Create a code modification hint that inserts the given
66 /// code string at a specific location.
68 StringRef Code) {
72 Hint.CodeToInsert = Code;
76 /// \brief Create a code modification hint that removes the given
87 /// \brief Create a code modification hint that replaces the given
88 /// source range with the given code string.
90 StringRef Code) {
93 Hint.CodeToInsert = Code;
98 StringRef Code) {
99 return CreateReplacement(CharSourceRange::getTokenRange(RemoveRange), Code);
597 /// \brief The number of code modifications hints in the
623 /// FixItHints - If valid, provides a hint with some code