[all-commits] [llvm/llvm-project] 574663: [clangd][NFC] Silence some buildbot warnings after...
Nathan James via All-commits
all-commits at lists.llvm.org
Tue Mar 9 06:56:28 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 574663f9d522420be7a67d9c55728af8330e1dd3
https://github.com/llvm/llvm-project/commit/574663f9d522420be7a67d9c55728af8330e1dd3
Author: Nathan James <n.james93 at hotmail.co.uk>
Date: 2021-03-09 (Tue, 09 Mar 2021)
Changed paths:
M clang-tools-extra/clangd/DraftStore.cpp
M clang-tools-extra/clangd/DraftStore.h
Log Message:
-----------
[clangd][NFC] Silence some buildbot warnings after 0250b053
https://reviews.llvm.org/D94554 introduced code which wont compile with some build flags due to a field having the same identifier as a type.
clang-tools-extra/clangd/DraftStore.h:55:11: error: declaration of ‘clang::clangd::DraftStore::Draft clang::clangd::DraftStore::DraftAndTime::Draft’ changes meaning of ‘Draft’ [-fpermissive]
55 | Draft Draft;
| ^~~~~
clang-tools-extra/clangd/DraftStore.h:30:10: note: ‘Draft’ declared here as ‘struct clang::clangd::DraftStore::Draft’
30 | struct Draft {
| ^~~~~
More information about the All-commits
mailing list