summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-02-09 22:48:33 +0000
committerDouglas Gregor <dgregor@apple.com>2010-02-09 22:48:33 +0000
commit89cc9d6e2aaf794fbd2c228a3755c19062ca0ba0 (patch)
tree999c7bbb10939c8a5fb7e215b6aefd4e04d4c63d /include
parente07c5b06c4b992688344ae68fc7e8401bdda4053 (diff)
downloadclang-89cc9d6e2aaf794fbd2c228a3755c19062ca0ba0.tar.gz
clang-89cc9d6e2aaf794fbd2c228a3755c19062ca0ba0.tar.bz2
clang-89cc9d6e2aaf794fbd2c228a3755c19062ca0ba0.tar.xz
Complain about types and declarations that we don't know how to import.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95706 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Basic/DiagnosticASTKinds.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticASTKinds.td b/include/clang/Basic/DiagnosticASTKinds.td
index d6921df0a3..935d15ac13 100644
--- a/include/clang/Basic/DiagnosticASTKinds.td
+++ b/include/clang/Basic/DiagnosticASTKinds.td
@@ -34,4 +34,5 @@ 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_unsupported_ast_node: Error<"cannot import unsupported AST node %0">;
}