class LocationCall

Declaration

class LocationCall : public ThreadSafeRefCountedBase { /* full declaration omitted */ };

Description

A thread-safe version of \c RefCountedBase.

Declared at: clang/include/clang/Tooling/NodeIntrospection.h:36

Inherits from: ThreadSafeRefCountedBase

Member Variables

private clang::tooling::LocationCall::LocationCallFlags m_flags
private clang::tooling::SharedLocationCall m_on
private std::string m_name

Method Overview

  • public LocationCall(clang::tooling::SharedLocationCall on, std::string name, clang::tooling::LocationCall::LocationCallFlags flags = NoFlags)
  • public bool isCast() const
  • public llvm::StringRef name() const
  • public clang::tooling::LocationCall * on() const
  • public bool returnsPointer() const

Methods

LocationCall(
    clang::tooling::SharedLocationCall on,
    std::string name,
    clang::tooling::LocationCall::
        LocationCallFlags flags = NoFlags)

Declared at: clang/include/clang/Tooling/NodeIntrospection.h:39

Parameters

clang::tooling::SharedLocationCall on
std::string name
clang::tooling::LocationCall::LocationCallFlags flags = NoFlags

bool isCast() const

Declared at: clang/include/clang/Tooling/NodeIntrospection.h:46

llvm::StringRef name() const

Declared at: clang/include/clang/Tooling/NodeIntrospection.h:44

clang::tooling::LocationCall* on() const

Declared at: clang/include/clang/Tooling/NodeIntrospection.h:43

bool returnsPointer() const

Declared at: clang/include/clang/Tooling/NodeIntrospection.h:45