]> granicus.if.org Git - clang/commit
DiagnoseUnknownTypename always emits a diagnostic and returns true
authorReid Kleckner <reid@kleckner.net>
Thu, 19 Jun 2014 01:23:22 +0000 (01:23 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 19 Jun 2014 01:23:22 +0000 (01:23 +0000)
commitbc44c099bc1a1a65ecc977f67bfaf9d0179ea794
treea167487b8ff32dd328defb5b5e5e019b3935a1c2
parent88a39adcf6cc703c363bcdf0ad979f2220e92ee9
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
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Parse/ParseDecl.cpp
lib/Sema/SemaDecl.cpp