class ProfileList

Declaration

class ProfileList { /* full declaration omitted */ };

Declared at: clang/include/clang/Basic/ProfileList.h:28

Member Variables

private std::unique_ptr<ProfileSpecialCaseList> SCL
private const bool Empty
private const bool Default
private clang::SourceManager& SM

Method Overview

  • public ProfileList(ArrayRef<std::string> Paths, clang::SourceManager & SM)
  • public bool getDefault() const
  • public bool isEmpty() const
  • public llvm::Optional<bool> isFileExcluded(llvm::StringRef FileName, CodeGenOptions::ProfileInstrKind Kind) const
  • public llvm::Optional<bool> isFunctionExcluded(llvm::StringRef FunctionName, CodeGenOptions::ProfileInstrKind Kind) const
  • public llvm::Optional<bool> isLocationExcluded(clang::SourceLocation Loc, CodeGenOptions::ProfileInstrKind Kind) const
  • public ~ProfileList()

Methods

ProfileList(ArrayRef<std::string> Paths,
            clang::SourceManager& SM)

Declared at: clang/include/clang/Basic/ProfileList.h:35

Parameters

ArrayRef<std::string> Paths
clang::SourceManager& SM

bool getDefault() const

Declared at: clang/include/clang/Basic/ProfileList.h:39

bool isEmpty() const

Declared at: clang/include/clang/Basic/ProfileList.h:38

llvm::Optional<bool> isFileExcluded(
    llvm::StringRef FileName,
    CodeGenOptions::ProfileInstrKind Kind) const

Declared at: clang/include/clang/Basic/ProfileList.h:48

Parameters

llvm::StringRef FileName
CodeGenOptions::ProfileInstrKind Kind

llvm::Optional<bool> isFunctionExcluded(
    llvm::StringRef FunctionName,
    CodeGenOptions::ProfileInstrKind Kind) const

Declared at: clang/include/clang/Basic/ProfileList.h:42

Parameters

llvm::StringRef FunctionName
CodeGenOptions::ProfileInstrKind Kind

llvm::Optional<bool> isLocationExcluded(
    clang::SourceLocation Loc,
    CodeGenOptions::ProfileInstrKind Kind) const

Declared at: clang/include/clang/Basic/ProfileList.h:45

Parameters

clang::SourceLocation Loc
CodeGenOptions::ProfileInstrKind Kind

~ProfileList()

Declared at: clang/include/clang/Basic/ProfileList.h:36