[clang-tools-extra] 7f1f89e - Fix build failure in clangd
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 17 08:51:33 PDT 2020
Author: Yaxun (Sam) Liu
Date: 2020-09-17T11:51:09-04:00
New Revision: 7f1f89ec8d9944559042bb6d3b1132eabe3409de
URL: https://github.com/llvm/llvm-project/commit/7f1f89ec8d9944559042bb6d3b1132eabe3409de
DIFF: https://github.com/llvm/llvm-project/commit/7f1f89ec8d9944559042bb6d3b1132eabe3409de.diff
LOG: Fix build failure in clangd
Added:
Modified:
clang-tools-extra/clangd/Diagnostics.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/Diagnostics.cpp b/clang-tools-extra/clangd/Diagnostics.cpp
index afa72f9d4051..18ff96202e0a 100644
--- a/clang-tools-extra/clangd/Diagnostics.cpp
+++ b/clang-tools-extra/clangd/Diagnostics.cpp
@@ -43,7 +43,7 @@ namespace {
const char *getDiagnosticCode(unsigned ID) {
switch (ID) {
#define DIAG(ENUM, CLASS, DEFAULT_MAPPING, DESC, GROPU, SFINAE, NOWERROR, \
- SHOWINSYSHEADER, CATEGORY) \
+ SHOWINSYSHEADER, DEFERRABLE, CATEGORY) \
case clang::diag::ENUM: \
return #ENUM;
#include "clang/Basic/DiagnosticASTKinds.inc"
More information about the cfe-commits
mailing list