[all-commits] [llvm/llvm-project] f07854: [clang][NFC] fix name lookup for llvm::json::Value...

Yuxuan Chen via All-commits all-commits at lists.llvm.org
Thu Jun 6 11:32:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0785484c8ebf42ae0284cd608ad5f78eae20e95
      https://github.com/llvm/llvm-project/commit/f0785484c8ebf42ae0284cd608ad5f78eae20e95
  Author: Yuxuan Chen <ych at fb.com>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp

  Log Message:
  -----------
  [clang][NFC] fix name lookup for llvm::json::Value in SymbolGraphSerializer (#94511)

This code uses namespaces `llvm` and `llvm::json`. However, we have both
`llvm::Value` and `llvm::json::Value`. Whenever any of the headers
declare or include `llvm::Value`, the lookup becomes ambiguous.

Fixing this by qualifying the `Value` type.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list