diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-05-09 07:56:33 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-05-09 07:58:36 -0500 |
commit | 28bdff19e3ad981ef83e372e8c301f1407b82135 (patch) | |
tree | b61430986ecee0cb960ecbc7cf3d71ebce2651a7 /clang-tools-extra/clangd | |
parent | 80f442e1ed5d3c247f0d414564bc1572229a806d (diff) | |
download | llvm-28bdff19e3ad981ef83e372e8c301f1407b82135.tar.gz |
[clangd][NFX][FIX] Fix conflicting symbol name `Expr`
Summary:
This class has a member named `Expr` which conflicts with the clang type
of the same name due to the namespace. If we want to do this we need to
explicitly scope the variable. This was preventing me from building.
This was introduced in https://reviews.llvm.org/D148457
Diffstat (limited to 'clang-tools-extra/clangd')
-rw-r--r-- | clang-tools-extra/clangd/Hover.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/Hover.cpp b/clang-tools-extra/clangd/Hover.cpp index 9b789901e77c..61bed1ad8141 100644 --- a/clang-tools-extra/clangd/Hover.cpp +++ b/clang-tools-extra/clangd/Hover.cpp @@ -468,7 +468,7 @@ struct PrintExprResult { std::optional<std::string> PrintedValue; /// The Expr object that represents the closest evaluable /// expression. - const Expr *Expr; + const clang::Expr *Expr; /// The node of selection tree where the traversal stops. const SelectionTree::Node *Node; }; |