|
clang
5.0.0
|
#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 |
Definition at line 26 of file XRayLists.h.
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| ALWAYS | |
| NEVER | |
| ALWAYS_ARG1 | |
Definition at line 36 of file XRayLists.h.
| XRayFunctionFilter::XRayFunctionFilter | ( | ArrayRef< std::string > | AlwaysInstrumentPaths, |
| ArrayRef< std::string > | NeverInstrumentPaths, | ||
| SourceManager & | SM | ||
| ) |
Definition at line 17 of file XRayLists.cpp.
| XRayFunctionFilter::ImbueAttribute XRayFunctionFilter::shouldImbueFunction | ( | StringRef | FunctionName | ) | const |
Definition at line 26 of file XRayLists.cpp.
References ALWAYS, ALWAYS_ARG1, NEVER, and NONE.
| XRayFunctionFilter::ImbueAttribute XRayFunctionFilter::shouldImbueFunctionsInFile | ( | StringRef | Filename, |
| StringRef | Category = StringRef() |
||
| ) | const |
Definition at line 39 of file XRayLists.cpp.
References ALWAYS, NEVER, and NONE.
Referenced by shouldImbueLocation().
| XRayFunctionFilter::ImbueAttribute XRayFunctionFilter::shouldImbueLocation | ( | SourceLocation | Loc, |
| StringRef | Category = StringRef() |
||
| ) | const |
Definition at line 49 of file XRayLists.cpp.
References clang::SourceManager::getFileLoc(), clang::SourceManager::getFilename(), clang::SourceLocation::isValid(), NONE, and shouldImbueFunctionsInFile().
1.8.6