summaryrefslogtreecommitdiff
path: root/include/clang/Basic/DiagnosticParseKinds.td
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-06-19 01:23:22 +0000
committerReid Kleckner <reid@kleckner.net>2014-06-19 01:23:22 +0000
commitbc44c099bc1a1a65ecc977f67bfaf9d0179ea794 (patch)
treea167487b8ff32dd328defb5b5e5e019b3935a1c2 /include/clang/Basic/DiagnosticParseKinds.td
parent88a39adcf6cc703c363bcdf0ad979f2220e92ee9 (diff)
downloadclang-bc44c099bc1a1a65ecc977f67bfaf9d0179ea794.tar.gz
clang-bc44c099bc1a1a65ecc977f67bfaf9d0179ea794.tar.bz2
clang-bc44c099bc1a1a65ecc977f67bfaf9d0179ea794.tar.xz
DiagnoseUnknownTypename always emits a diagnostic and returns true
Make it return void and delete the dead code in the parser that handled the case where it might return false. This has been dead since 2010 when John deleted Action.h. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211248 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticParseKinds.td')
-rw-r--r--include/clang/Basic/DiagnosticParseKinds.td2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticParseKinds.td b/include/clang/Basic/DiagnosticParseKinds.td
index e874c8d9a7..b2da81e17d 100644
--- a/include/clang/Basic/DiagnosticParseKinds.td
+++ b/include/clang/Basic/DiagnosticParseKinds.td
@@ -333,8 +333,6 @@ def warn_vector_long_decl_spec_combination : Warning<
"Use of 'long' with '__vector' is deprecated">, InGroup<Deprecated>;
def err_friend_invalid_in_context : Error<
"'friend' used outside of class">;
-def err_unknown_typename : Error<
- "unknown type name %0">;
def err_use_of_tag_name_without_tag : Error<
"must use '%1' tag to refer to type %0%select{| in this scope}2">;
def err_templated_using_directive : Error<