From f27e5a09a0d815b8a4814152954ff87dadfdefc0 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 2 Jun 2009 17:58:47 +0000 Subject: Import Clang, at r72732. --- include/clang/Basic/DiagnosticASTKinds.td | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 include/clang/Basic/DiagnosticASTKinds.td (limited to 'include/clang/Basic/DiagnosticASTKinds.td') diff --git a/include/clang/Basic/DiagnosticASTKinds.td b/include/clang/Basic/DiagnosticASTKinds.td new file mode 100644 index 0000000..f075aaa --- /dev/null +++ b/include/clang/Basic/DiagnosticASTKinds.td @@ -0,0 +1,29 @@ +//==--- DiagnosticASTKinds.td - libast diagnostics ------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +let Component = "AST" in { + +//def note_comma_in_ice : Note< +// "C does not permit evaluated commas in an integer constant expression">; +def note_expr_divide_by_zero : Note<"division by zero">; + +// inline asm related. +def err_asm_invalid_escape : Error< + "invalid %% escape in inline assembly string">; +def err_asm_unknown_symbolic_operand_name : Error< + "unknown symbolic operand name in inline assembly string">; + +def err_asm_unterminated_symbolic_operand_name : Error< + "unterminated symbolic operand name in inline assembly string">; +def err_asm_empty_symbolic_operand_name : Error< + "empty symbolic operand name in inline assembly string">; +def err_asm_invalid_operand_number : Error< + "invalid operand number in inline asm string">; + +} -- cgit v1.1