[all-commits] [llvm/llvm-project] 28bdff: [clangd][NFX][FIX] Fix conflicting symbol name `Expr`

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue May 9 05:59:07 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28bdff19e3ad981ef83e372e8c301f1407b82135
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M clang-tools-extra/clangd/Hover.cpp

  Log Message:
  [clangd][NFX][FIX] Fix conflicting symbol name `Expr`

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

More information about the All-commits mailing list