diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-02-17 00:34:30 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-02-17 00:34:30 +0000 |
| commit | 7244b0bb860b265bc819660133e03e8c5ab2557e (patch) | |
| tree | d9060bcd3c263eecce58807e9b22adb7f4df7ce4 /clang/include | |
| parent | a845f654fa1207835b8f5a999deaa8f8211c89a9 (diff) | |
| download | bcm5719-llvm-7244b0bb860b265bc819660133e03e8c5ab2557e.tar.gz bcm5719-llvm-7244b0bb860b265bc819660133e03e8c5ab2557e.zip | |
Implement AST importing of Objective-C instance variables.
Check superclasses when merging two Objective-C @interfaces.
llvm-svn: 96420
Diffstat (limited to 'clang/include')
| -rw-r--r-- | clang/include/clang/Basic/DiagnosticASTKinds.td | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/DiagnosticASTKinds.td b/clang/include/clang/Basic/DiagnosticASTKinds.td index b6c2b13895d..a435e35e5a1 100644 --- a/clang/include/clang/Basic/DiagnosticASTKinds.td +++ b/clang/include/clang/Basic/DiagnosticASTKinds.td @@ -53,6 +53,13 @@ def note_odr_number_of_bases : Note< "class has %0 base %plural{1:class|:classes}0">; def note_odr_enumerator : Note<"enumerator %0 with value %1 here">; def note_odr_missing_enumerator : Note<"no corresponding enumerator here">; - +def err_odr_ivar_type_inconsistent : Error< + "instance variable %0 declared with incompatible types in different " + "translation units (%1 vs. %2)">; +def err_odr_objc_superclass_inconsistent : Error< + "class %0 has incompatible superclasses">; +def note_odr_objc_superclass : Note<"inherits from superclass %0 here">; +def note_odr_objc_missing_superclass : Note<"no corresponding superclass here">; + def err_unsupported_ast_node: Error<"cannot import unsupported AST node %0">; } |

