clang-tools  6.0.0svn
Public Types | Public Attributes | List of all members
clang::tidy::FileFilter Struct Reference

Contains a list of line ranges in a single file. More...

#include <ClangTidyOptions.h>

Collaboration diagram for clang::tidy::FileFilter:
Collaboration graph
[legend]

Public Types

typedef std::pair< unsigned, unsigned > LineRange
 LineRange is a pair<start, end> (inclusive). More...
 

Public Attributes

std::string Name
 File name. More...
 
std::vector< LineRangeLineRanges
 A list of line ranges in this file, for which we show warnings. More...
 

Detailed Description

Contains a list of line ranges in a single file.

Definition at line 28 of file ClangTidyOptions.h.

Member Typedef Documentation

◆ LineRange

typedef std::pair<unsigned, unsigned> clang::tidy::FileFilter::LineRange

LineRange is a pair<start, end> (inclusive).

Definition at line 33 of file ClangTidyOptions.h.

Member Data Documentation

◆ LineRanges

std::vector<LineRange> clang::tidy::FileFilter::LineRanges

A list of line ranges in this file, for which we show warnings.

Definition at line 36 of file ClangTidyOptions.h.

Referenced by llvm::yaml::MappingTraits< FileFilter >::mapping(), and llvm::yaml::MappingTraits< FileFilter >::validate().

◆ Name

std::string clang::tidy::FileFilter::Name

The documentation for this struct was generated from the following file: