Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Tooling/
H A DNodeIntrospection.h33 class LocationCall; variable
34 using SharedLocationCall = llvm::IntrusiveRefCntPtr<LocationCall>;
36 class LocationCall : public llvm::ThreadSafeRefCountedBase<LocationCall> {
39 LocationCall(SharedLocationCall on, std::string name,
43 LocationCall *on() const { return m_on.get(); } in on()
56 static void print(const LocationCall &Call, llvm::raw_ostream &OS);
57 static std::string format(const LocationCall &Call);
/llvm-project-15.0.7/clang/lib/Tooling/
H A DNodeIntrospection.cpp22 void LocationCallFormatterCpp::print(const LocationCall &Call, in print()
24 if (const LocationCall *On = Call.on()) { in print()
35 std::string LocationCallFormatterCpp::format(const LocationCall &Call) { in format()
45 static bool locationCallLessThan(const LocationCall *LHS, in locationCallLessThan()
46 const LocationCall *RHS) { in locationCallLessThan()
/llvm-project-15.0.7/clang/unittests/Introspection/
H A DIntrospectionTest.cpp58 if (const LocationCall *On = Call.on()) in print()
62 if (const LocationCall *On = Call.on()) { in print()
69 static std::string format(const LocationCall &Call) { in format()
87 llvm::makeIntrusiveRefCnt<LocationCall>(Prefix, "getTypeLoc"); in TEST()
110 auto chainedCall = llvm::makeIntrusiveRefCnt<LocationCall>( in TEST()
111 llvm::makeIntrusiveRefCnt<LocationCall>(Prefix, "getTypeLoc"), in TEST()
119 auto chainedCall = llvm::makeIntrusiveRefCnt<LocationCall>( in TEST()
120 llvm::makeIntrusiveRefCnt<LocationCall>( in TEST()
121 llvm::makeIntrusiveRefCnt<LocationCall>( in TEST()
122 llvm::makeIntrusiveRefCnt<LocationCall>( in TEST()
[all …]