Home
last modified time | relevance | path

Searched refs:PassType (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/
DHover.cpp750 HoverInfo::PassType PassType; in maybeAddCalleeArgInfo() local
753 PassType.PassBy = HoverInfo::PassType::ConstRef; in maybeAddCalleeArgInfo()
757 CastNode != OuterNode.Parent && !PassType.Converted; in maybeAddCalleeArgInfo()
765 if (PassType.PassBy != HoverInfo::PassType::Value) in maybeAddCalleeArgInfo()
766 PassType.PassBy = ImplicitCast->getType().isConstQualified() in maybeAddCalleeArgInfo()
767 ? HoverInfo::PassType::ConstRef in maybeAddCalleeArgInfo()
768 : HoverInfo::PassType::Ref; in maybeAddCalleeArgInfo()
776 PassType.PassBy = HoverInfo::PassType::Value; in maybeAddCalleeArgInfo()
779 PassType.PassBy = HoverInfo::PassType::Value; in maybeAddCalleeArgInfo()
780 PassType.Converted = true; in maybeAddCalleeArgInfo()
[all …]
DHover.h83 struct PassType { struct
93 llvm::Optional<PassType> CallPassType;
99 inline bool operator==(const HoverInfo::PassType &LHS, argument
100 const HoverInfo::PassType &RHS) {
/external/llvm-project/clang-tools-extra/clangd/unittests/
DHoverTests.cpp29 using PassMode = HoverInfo::PassType::PassMode;
911 HoverInfo::PassType::PassMode PassBy; in TEST()