projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05abcc5
)
[Clangd] Fix ambiguous use of 'Range'
author
Joseph Huber
<jhuber6@vols.utk.edu>
Tue, 18 Jul 2023 16:41:24 +0000
(11:41 -0500)
committer
Joseph Huber
<jhuber6@vols.utk.edu>
Tue, 18 Jul 2023 16:41:24 +0000
(11:41 -0500)
Summary:
The changes in D155173 caused build failures on some configruations due
to the use of `Range` which conflicts with other definitions. Explicitly
use `clangd::Range`.
clang-tools-extra/clangd/ClangdServer.h
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clangd/ClangdServer.h
b/clang-tools-extra/clangd/ClangdServer.h
index
9b77984
..
88b6d2f
100644
(file)
--- a/
clang-tools-extra/clangd/ClangdServer.h
+++ b/
clang-tools-extra/clangd/ClangdServer.h
@@
-353,7
+353,7
@@
public:
// Ref to the clangd::Diag.
struct DiagRef {
- Range Range;
+
clangd::
Range Range;
std::string Message;
bool operator==(const DiagRef &Other) const {
return std::tie(Range, Message) == std::tie(Other.Range, Other.Message);