Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/
DHover.h86 PassMode PassBy = Ref; member
101 return std::tie(LHS.PassBy, LHS.Converted) ==
102 std::tie(RHS.PassBy, RHS.Converted);
DHover.cpp753 PassType.PassBy = HoverInfo::PassType::ConstRef; in maybeAddCalleeArgInfo()
765 if (PassType.PassBy != HoverInfo::PassType::Value) in maybeAddCalleeArgInfo()
766 PassType.PassBy = ImplicitCast->getType().isConstQualified() in maybeAddCalleeArgInfo()
776 PassType.PassBy = HoverInfo::PassType::Value; in maybeAddCalleeArgInfo()
779 PassType.PassBy = HoverInfo::PassType::Value; in maybeAddCalleeArgInfo()
788 PassType.PassBy = HoverInfo::PassType::Value; in maybeAddCalleeArgInfo()
792 PassType.PassBy = HoverInfo::PassType::Value; in maybeAddCalleeArgInfo()
948 if (CallPassType->PassBy != HoverInfo::PassType::Value) { in present()
950 if (CallPassType->PassBy == HoverInfo::PassType::ConstRef) in present()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DHoverTests.cpp764 HI.CallPassType->PassBy = PassMode::Ref; in TEST()
792 HI.CallPassType->PassBy = PassMode::Value; in TEST()
911 HoverInfo::PassType::PassMode PassBy; in TEST() member
949 EXPECT_EQ(H->CallPassType->PassBy, Test.PassBy); in TEST()
2294 HI.CallPassType->PassBy = PassMode::Value; in TEST()
2319 HI.CallPassType->PassBy = PassMode::Ref; in TEST()
2344 HI.CallPassType->PassBy = PassMode::Value; in TEST()
2369 HI.CallPassType->PassBy = PassMode::ConstRef; in TEST()