16#include "llvm/Support/raw_ostream.h"
23 llvm::raw_ostream &OS) {
26 if (On->returnsPointer())
32 OS << Call.name() <<
"()";
37 llvm::raw_string_ostream OS(
Result);
53 auto compareResult = LHS->
name().compare(RHS->
name());
54 if (compareResult < 0)
56 if (compareResult > 0)
62 std::pair<SourceRange, SharedLocationCall>
const &LHS,
63 std::pair<SourceRange, SharedLocationCall>
const &RHS)
const {
64 if (LHS.first.getBegin() < RHS.first.getBegin())
66 else if (LHS.first.getBegin() != RHS.first.getBegin())
69 if (LHS.first.getEnd() < RHS.first.getEnd())
71 else if (LHS.first.getEnd() != RHS.first.getEnd())
77 std::pair<SourceLocation, SharedLocationCall>
const &LHS,
78 std::pair<SourceLocation, SharedLocationCall>
const &RHS)
const {
79 if (LHS.first == RHS.first)
81 return LHS.first < RHS.first;
88#include "clang/Tooling/NodeIntrospection.inc"
@ Result
The result type of a method or function.