diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-02-10 19:54:31 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-02-10 19:54:31 +0000 |
commit | a404ea673cbee5e74af710a5f1ab571e71580b67 (patch) | |
tree | 717ca8b7974e8c1874186ad8ea4d89736c2eef9a /include/clang/Basic/DiagnosticASTKinds.td | |
parent | 4c863ef92c2b74572090da245c87e1487b0b596c (diff) |
Implement basic support for merging function declarations across
translation units.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95794 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticASTKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticASTKinds.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticASTKinds.td b/include/clang/Basic/DiagnosticASTKinds.td index 935d15ac13..b1d3920ae0 100644 --- a/include/clang/Basic/DiagnosticASTKinds.td +++ b/include/clang/Basic/DiagnosticASTKinds.td @@ -34,5 +34,8 @@ def err_odr_variable_multiple_def : Error< "external variable %0 defined in multiple translation units">; def note_odr_value_here : Note<"declared here with type %0">; def note_odr_defined_here : Note<"also defined here">; +def err_odr_function_type_inconsistent : Error< + "external function %0 declared with incompatible types in different " + "translation units (%1 vs. %2)">; def err_unsupported_ast_node: Error<"cannot import unsupported AST node %0">; } |