clang  6.0.0svn
Public Types | Public Member Functions | List of all members
clang::XRayFunctionFilter Class Reference

#include "clang/Basic/XRayLists.h"

Public Types

enum  ImbueAttribute { ImbueAttribute::NONE, ImbueAttribute::ALWAYS, ImbueAttribute::NEVER, ImbueAttribute::ALWAYS_ARG1 }
 

Public Member Functions

 XRayFunctionFilter (ArrayRef< std::string > AlwaysInstrumentPaths, ArrayRef< std::string > NeverInstrumentPaths, SourceManager &SM)
 
ImbueAttribute shouldImbueFunction (StringRef FunctionName) const
 
ImbueAttribute shouldImbueFunctionsInFile (StringRef Filename, StringRef Category=StringRef()) const
 
ImbueAttribute shouldImbueLocation (SourceLocation Loc, StringRef Category=StringRef()) const
 

Detailed Description

Definition at line 26 of file XRayLists.h.

Member Enumeration Documentation

◆ ImbueAttribute

Enumerator
NONE 
ALWAYS 
NEVER 
ALWAYS_ARG1 

Definition at line 36 of file XRayLists.h.

Constructor & Destructor Documentation

◆ XRayFunctionFilter()

XRayFunctionFilter::XRayFunctionFilter ( ArrayRef< std::string >  AlwaysInstrumentPaths,
ArrayRef< std::string >  NeverInstrumentPaths,
SourceManager SM 
)

Definition at line 17 of file XRayLists.cpp.

Member Function Documentation

◆ shouldImbueFunction()

XRayFunctionFilter::ImbueAttribute XRayFunctionFilter::shouldImbueFunction ( StringRef  FunctionName) const

Definition at line 26 of file XRayLists.cpp.

References ALWAYS, ALWAYS_ARG1, NEVER, and NONE.

◆ shouldImbueFunctionsInFile()

XRayFunctionFilter::ImbueAttribute XRayFunctionFilter::shouldImbueFunctionsInFile ( StringRef  Filename,
StringRef  Category = StringRef() 
) const

Definition at line 41 of file XRayLists.cpp.

References ALWAYS, NEVER, and NONE.

Referenced by shouldImbueLocation().

◆ shouldImbueLocation()

XRayFunctionFilter::ImbueAttribute XRayFunctionFilter::shouldImbueLocation ( SourceLocation  Loc,
StringRef  Category = StringRef() 
) const

The documentation for this class was generated from the following files: