]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/clang/include/clang/Basic/DiagnosticRefactoringKinds.td
MFV r316918: 7990 libzfs: snapspec_cb() does not need to call zfs_strdup()
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / clang / include / clang / Basic / DiagnosticRefactoringKinds.td
1 //==--- DiagnosticRefactoringKinds.td - refactoring diagnostics -----------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 //===----------------------------------------------------------------------===//
11 // Refactoring Diagnostics
12 //===----------------------------------------------------------------------===//
13
14 let Component = "Refactoring" in {
15
16 let CategoryName = "Refactoring Invocation Issue" in {
17
18 def err_refactor_no_selection : Error<"refactoring action can't be initiated "
19   "without a selection">;
20 def err_refactor_selection_no_symbol : Error<"there is no symbol at the given "
21   "location">;
22 def err_refactor_selection_invalid_ast : Error<"the provided selection does "
23   "not overlap with the AST nodes of interest">;
24
25 def err_refactor_code_outside_of_function : Error<"the selected code is not a "
26   "part of a function's / method's body">;
27 def err_refactor_extract_simple_expression : Error<"the selected expression "
28   "is too simple to extract">;
29 def err_refactor_extract_prohibited_expression : Error<"the selected "
30   "expression can't be extracted">;
31
32 }
33
34 } // end of Refactoring diagnostics