class recursive_directory_iterator

Declaration

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

Description

recursive_directory_iterator - Same as directory_iterator except for it recurses down into child directories.

Declared at: llvm/include/llvm/Support/FileSystem.h:1342

Method Overview

Methods

llvm::sys::fs::recursive_directory_iterator&
increment(std::error_code& ec)

Declared at: llvm/include/llvm/Support/FileSystem.h:1358

Parameters

std::error_code& ec

int level() const

Description

Gets the current level. Starting path is at level 0.

Declared at: llvm/include/llvm/Support/FileSystem.h:1400

void no_push()

Description

Does not go down into the current directory_entry.

Declared at: llvm/include/llvm/Support/FileSystem.h:1427

bool no_push_request() const

Description

Returns true if no_push has been called for this directory_entry.

Declared at: llvm/include/llvm/Support/FileSystem.h:1403

void pop()

Description

Goes up one level if Level > 0.

Declared at: llvm/include/llvm/Support/FileSystem.h:1407

recursive_directory_iterator()

Declared at: llvm/include/llvm/Support/FileSystem.h:1347

recursive_directory_iterator(
    const llvm::Twine& path,
    std::error_code& ec,
    bool follow_symlinks = true)

Declared at: llvm/include/llvm/Support/FileSystem.h:1348

Parameters

const llvm::Twine& path
std::error_code& ec
bool follow_symlinks = true