From 3a16aa968ca357ec34437bbfa1462f4cb5f5e3a4 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 23 Jul 2013 16:18:53 +0000 Subject: [PATCH] Remove unused diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186955 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/DiagnosticParseKinds.td | 4 ---- include/clang/Basic/DiagnosticSemaKinds.td | 2 -- 2 files changed, 6 deletions(-) diff --git a/include/clang/Basic/DiagnosticParseKinds.td b/include/clang/Basic/DiagnosticParseKinds.td index b99b0373ca..3cda5b364c 100644 --- a/include/clang/Basic/DiagnosticParseKinds.td +++ b/include/clang/Basic/DiagnosticParseKinds.td @@ -837,12 +837,8 @@ def err_omp_unknown_directive : Error < "expected an OpenMP directive">; def err_omp_unexpected_directive : Error < "unexpected OpenMP directive '#pragma omp %0'">; -def err_omp_expected_var : Error < - "expected '#pragma omp %0' argument to be a variable name">; def err_omp_expected_punc : Error < "expected ',' or ')' in %select{'#pragma omp %1'|'%1' clause}0">; -def err_omp_unknown_clause : Error < - "expected OpenMP clause for directive '#pragma omp %0' or end of directive">; def err_omp_unexpected_clause : Error < "unexpected OpenMP clause '%0' in directive '#pragma omp %1'">; def err_omp_more_one_clause : Error < diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 2e4917e938..976457d6f7 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -6494,8 +6494,6 @@ def err_omp_var_thread_local : Error< "variable %0 cannot be threadprivate because it is thread-local">; def err_omp_private_incomplete_type : Error< "a private variable with incomplete type %0">; -def err_omp_directive_nonblock : Error< - "directive '#pragma omp %0' bound to nonblock statement">; def err_omp_unexpected_clause_value : Error < "expected %0 in OpenMP clause '%1'">; def err_omp_expected_var_name : Error < -- 2.40.0